Testing
This commit is contained in:
parent
134300985a
commit
e08b3ae06d
1 changed files with 6 additions and 3 deletions
|
@ -8,8 +8,11 @@
|
|||
set EDITOR vim
|
||||
ssh-add > /dev/null &> /dev/null
|
||||
if not set -q TMUX && not set -q DISABLE_TMUX
|
||||
tmux attach || exec tmux new-session
|
||||
exit
|
||||
if tmux has-session -t main
|
||||
tmux attach-session -t main
|
||||
else
|
||||
exec tmux new-session -t main
|
||||
end
|
||||
end
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue