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