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

View file

@ -7,9 +7,12 @@
interactiveShellInit = '' interactiveShellInit = ''
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
''; '';