Start tmux in interactive fish by default
This commit is contained in:
parent
c6be703e8b
commit
b28e9a9b80
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue