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
|
set EDITOR vim
|
||||||
ssh-add > /dev/null &> /dev/null
|
ssh-add > /dev/null &> /dev/null
|
||||||
if not set -q TMUX && not set -q DISABLE_TMUX
|
if not set -q TMUX && not set -q DISABLE_TMUX
|
||||||
tmux attach || exec tmux new-session
|
if tmux has-session -t main
|
||||||
exit
|
tmux attach-session -t main
|
||||||
|
else
|
||||||
|
exec tmux new-session -t main
|
||||||
|
end
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue