From 09e48ac8fbb1b1b32a5476ed4bc8623ae285d2ae Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 7 Jul 2023 21:04:19 -0500 Subject: [PATCH] Zellij auto attach --- common/fish/config.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/fish/config.fish b/common/fish/config.fish index 7226fba..81c1890 100755 --- a/common/fish/config.fish +++ b/common/fish/config.fish @@ -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