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

View file

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