add option to disable tmux
This commit is contained in:
parent
733951fca4
commit
bbf25102de
|
@ -103,8 +103,10 @@ export EDITOR='vim'
|
|||
|
||||
source .zsh-tmux-conf
|
||||
|
||||
if ! { [ "$TERM" = "screen" ] && [ -n "$TMUX" ] && [ -n "$NO_TMUX" ] ; } then
|
||||
tmux attach
|
||||
if ! { [ "$TERM" = "screen" ] && [ -n "$TMUX" ] ; } then
|
||||
if [[ -v $NOTMUX ]] ; then
|
||||
tmux attach
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue