fix attaching tmux-session
This commit is contained in:
parent
9243048cf1
commit
f4c1655fa3
4
.zshrc
4
.zshrc
|
@ -143,7 +143,7 @@ if [ $? != 0 ]; then
|
||||||
TMUX='' tmux new-session -s "default" -d
|
TMUX='' tmux new-session -s "default" -d
|
||||||
fi
|
fi
|
||||||
if [[ -z "$TMUX" ]]; then
|
if [[ -z "$TMUX" ]]; then
|
||||||
tmux attach-session -t "default"
|
tmux attach -t default
|
||||||
else
|
else
|
||||||
tmux switch-client -t "default"
|
tmux switch-client -t default
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue