Update session name

This commit is contained in:
albert 2024-04-30 20:33:17 +09:00
parent 03ba564ede
commit 32d28abaad
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -11,11 +11,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
if tmux has-session -t main if tmux has-session -t Main
exec tmux attach-session -t main exec tmux attach-session -t Main
exit exit
else else
exec tmux new-session -t main exec tmux new-session -t Main
end end
end end
''; '';