This commit is contained in:
albert 2024-04-30 18:23:45 +09:00
parent b92a83d2e9
commit e7fa825d5e
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -9,7 +9,8 @@
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 && exit
tmux attach-session -t main
exit
else
exec tmux new-session -t main
end