aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2022-07-12 03:27:46 +0200
committerGitHub <noreply@github.com>2022-07-12 10:27:46 +0900
commit8f0e82a0ea10a8fb373fdeddbe84c4103657af59 (patch)
treef98a10a3d7acb588ffc3f928fe0826dc5dfbcd35
parentchore(docs): add more matrix links (#1581) (diff)
downloadsl0ppij-8f0e82a0ea10a8fb373fdeddbe84c4103657af59.tar.gz
sl0ppij-8f0e82a0ea10a8fb373fdeddbe84c4103657af59.tar.xz
sl0ppij-8f0e82a0ea10a8fb373fdeddbe84c4103657af59.zip
fix: add usage comment to fish shell auto-start snippet (#1574) (#1583)
-rw-r--r--zellij-utils/assets/shell/auto-start.fish8
1 files changed, 8 insertions, 0 deletions
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