From 8f0e82a0ea10a8fb373fdeddbe84c4103657af59 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Tue, 12 Jul 2022 03:27:46 +0200 Subject: [PATCH] fix: add usage comment to fish shell auto-start snippet (#1574) (#1583) --- zellij-utils/assets/shell/auto-start.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zellij-utils/assets/shell/auto-start.fish b/zellij-utils/assets/shell/auto-start.fish index c4b9e967..d20ab25f 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