Update
This commit is contained in:
parent
b92a83d2e9
commit
e7fa825d5e
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@
|
|||
ssh-add > /dev/null &> /dev/null
|
||||
if not set -q TMUX && not set -q DISABLE_TMUX
|
||||
if tmux has-session -t main
|
||||
tmux attach-session -t main && exit
|
||||
tmux attach-session -t main
|
||||
exit
|
||||
else
|
||||
exec tmux new-session -t main
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue