Start tmux in interactive fish by default
This commit is contained in:
parent
c6be703e8b
commit
b28e9a9b80
1 changed files with 4 additions and 0 deletions
|
@ -157,3 +157,7 @@ bind -M default \cv edit_command_buffer
|
|||
test $PWD = $HOME && begin
|
||||
cd $NICE_HOME || cd
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue