Test
This commit is contained in:
parent
e08b3ae06d
commit
b92a83d2e9
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
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
|
||||
tmux attach-session -t main && exit
|
||||
else
|
||||
exec tmux new-session -t main
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue