tmux and zsh configs updated

This commit is contained in:
parent a3ba4cd402
commit 180b8cc69e
2 changed files with 7 additions and 26 deletions

View File

@ -48,9 +48,7 @@ set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'
# ──────────────────────── some terminal options ──────────────────────
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
set -g default-terminal "screen-256color"
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0
# ─────────────────────────────── copying ─────────────────────────────
set -g set-clipboard on
@ -64,6 +62,9 @@ set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# ───────────────────────── enabling passthrough ─────────────────────────
set -g allow-passthrough on
set -g visual-activity off
# ╭──────────────────────────────────────────────────────────╮
# │ Plugins │

26
.zshrc
View File

@ -42,27 +42,6 @@ case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
alias n="pnpm"
alias v="nvim"
alias lv="lvim"
alias vim="nvim"
alias ni="n i"
alias ns="n start"
alias nsd="n start:dev"
alias nt="n test"
alias ntd="n test:dev"
# pnpm end
# eza
if command -v eza > /dev/null; then
alias ls="eza"
alias ll="eza --long --git --icons=always --no-user --no-permissions"
alias tree="eza --tree"
fi
# cat -> bat
if command -v bat > /dev/null; then
alias cat="bat"
fi
# fzf customization
if command -v fd > /dev/null; then
@ -110,10 +89,11 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
export PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
export QSYS_ROOTDIR="/home/goodhumored/intelFPGA/22.1std/quartus/sopc_builder/bin"
export TERM="screen-256color"
# export TERM="xterm-256color"
export LM_LICENSE_FILE=C:\\flexlm\\lic_modelsim.txt
export PATH=$HOME/.local/bin:$PATH
eval "$(zoxide init --cmd cd zsh)"
source ~/.aliases.sh
eval "$(fzf --zsh)"