change handling of tmux
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
initExtraFirst = '' # very first inits in zshrc
|
||||
if [[ $DISPLAY ]]; then
|
||||
[[ $- != *i* ]] && return
|
||||
tmux attach
|
||||
[[ -z "$TMUX" ]] && (tmux attach || tmux new-session)
|
||||
fi
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user