Zellij auto attach
This commit is contained in:
parent
c68b08d692
commit
09e48ac8fb
|
@ -60,6 +60,8 @@ end
|
|||
# If we're running the shell interactively from inside Kitty, assume that we will be using Kitty's multiplexing features
|
||||
# Otherwise, assume we're in a context that is not capable of "native" multiplexing features and run everything inside Zellij
|
||||
if set --query FISH_START_ZELLIJ
|
||||
set ZELLIJ_AUTO_ATTACH true
|
||||
set ZELLIJ_AUTO_EXIT true
|
||||
eval (zellij setup --generate-auto-start fish | string collect)
|
||||
else if set --query FISH_START_TMUX
|
||||
tmux att -t default || tmux new -s default
|
||||
|
|
Reference in a new issue