Typo
This commit is contained in:
@@ -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
5
.zshrc
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user