This commit is contained in:
2024-10-14 18:49:58 +02:00
parent 84237bcafc
commit 14b1e3b61f
2 changed files with 4 additions and 3 deletions

View File

@@ -31,6 +31,6 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# Open panes in current directory # Open panes in current directory
bind '"' split-window -v -c "#{pane_current_path}" bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane-current_path}" bind % split-window -h -c "#{pane_current_path}"
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'

5
.zshrc
View File

@@ -67,7 +67,8 @@ zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath' zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
# Aliases # Aliases
alias ls='ls --color' alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias v='nvim' alias v='nvim'
alias c='clear' alias c='clear'
@@ -76,6 +77,6 @@ eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)" eval "$(zoxide init --cmd cd zsh)"
# Automatically start Tmux # Automatically start Tmux
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ]; then if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [[ "$TERM_PROGRAM" != "vscode" ]]; then
exec tmux new-session -A -s ${USER} >/dev/null 2>&1 exec tmux new-session -A -s ${USER} >/dev/null 2>&1
fi fi