Attach to TMUX session on startup
This commit is contained in:
parent
c04d756f0f
commit
3e8347e144
1 changed files with 5 additions and 0 deletions
|
@ -121,4 +121,9 @@ if status is-interactive
|
||||||
if type -q direnv
|
if type -q direnv
|
||||||
direnv hook fish | source
|
direnv hook fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# run tmux session
|
||||||
|
if not set -q TMUX
|
||||||
|
tmux attach -t build; or tmux new -s build
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue