From 9f76454b32c0007f20b0eae46d55d7a1488c9df9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Dur=C3=A1n=20Balda?= Date: Mon, 18 May 2020 22:18:43 +0200 Subject: [PATCH] Add -x and -h options to the script header doc (#272) --- z.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/z.sh b/z.sh index 78f620c..6049e70 100644 --- a/z.sh +++ b/z.sh @@ -24,6 +24,8 @@ # * z -l foo # list matches instead of cd # * z -e foo # echo the best match, don't cd # * z -c foo # restrict matches to subdirs of $PWD +# * z -x # remove the current directory from the datafile +# * z -h # show a brief help message [ -d "${_Z_DATA:-$HOME/.z}" ] && { echo "ERROR: z.sh's datafile (${_Z_DATA:-$HOME/.z}) is a directory."