diff --git a/zellij-utils/assets/shell/auto-start.fish b/zellij-utils/assets/shell/auto-start.fish index c4b9e96755..d20ab25f9a 100644 --- a/zellij-utils/assets/shell/auto-start.fish +++ b/zellij-utils/assets/shell/auto-start.fish @@ -1,3 +1,11 @@ +# The following snippet is meant to be used like this in your fish config: +# +# if status is-interactive +# # Configure auto-attach/exit to your likings (default is off). +# # set ZELLIJ_AUTO_ATTACH true +# # set ZELLIJ_AUTO_EXIT true +# eval (zellij setup --generate-auto-start fish | string collect) +# end if not set -q ZELLIJ if test "$ZELLIJ_AUTO_ATTACH" = "true" zellij attach -c