fixed tmux
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -7,7 +7,7 @@ fi
|
||||
|
||||
# Set ZINIT Home
|
||||
ZINIT_HOME="${HOME}/.config/zinit/zinit.git"
|
||||
ZSH_TMUX_AUTOSTART=true
|
||||
# ZSH_TMUX_AUTOSTART=true
|
||||
|
||||
# Download ZINIT
|
||||
if [ ! -f "${ZINIT_HOME}/zinit.zsh" ]; then
|
||||
@@ -24,7 +24,9 @@ if [ ! -d "${TMUX_HOME}/plugins/tpm" ]; then
|
||||
git clone https://github.com/tmux-plugins/tpm $TMUX_HOME/plugins/tpm
|
||||
fi
|
||||
|
||||
tmux source ${TMUX_HOME}/tmux.conf
|
||||
if { [ "$TERM" = "screen" ] && [ -n "$TMUX" ]; } then
|
||||
tmux source ${TMUX_HOME}/tmux.conf
|
||||
fi
|
||||
|
||||
#extend path
|
||||
path=(~/bin $path)
|
||||
@@ -41,7 +43,7 @@ zinit light zsh-users/zsh-syntax-highlighting
|
||||
zinit light zsh-users/zsh-completions
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
|
||||
zinit snippet OMZP::tmux
|
||||
# zinit snippet OMZP::tmux
|
||||
|
||||
# Load completions
|
||||
autoload -U compinit && compinit
|
||||
|
||||
Reference in New Issue
Block a user