fix: add usage comment to fish shell auto-start snippet (#1574) (#1583)

This commit is contained in:
Tassilo Horn 2022-07-12 03:27:46 +02:00 committed by GitHub
parent d71c212fe8
commit 8f0e82a0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 not set -q ZELLIJ
if test "$ZELLIJ_AUTO_ATTACH" = "true" if test "$ZELLIJ_AUTO_ATTACH" = "true"
zellij attach -c zellij attach -c