home/zsh: add full nix path for tmux
This commit is contained in:
parent
a756a9fa7e
commit
c79e8bb097
@ -101,7 +101,8 @@
|
||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||
|
||||
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
|
||||
tmux attach-session -t $USER || tmux new-session -s $USER
|
||||
TMUX_EXE="${pkgs.tmux}/bin/tmux"
|
||||
$TMUX_EXE attach-session -t $USER || $TMUX_EXE new-session -s $USER
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user