Start tmux in interactive fish by default

This commit is contained in:
Daniel Flanagan 2023-11-10 12:44:52 -06:00
parent c6be703e8b
commit b28e9a9b80
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -157,3 +157,7 @@ bind -M default \cv edit_command_buffer
test $PWD = $HOME && begin test $PWD = $HOME && begin
cd $NICE_HOME || cd cd $NICE_HOME || cd
end end
if has_command tmux && ! set -q DO_NOT_AUTOSTART_TMUX && ! set -q TMUX
tmux new-session -D -s "default" &>/dev/null || tmux attach -t "default"
end