Add -x and -h options to the script header doc (#272)

This commit is contained in:
Rubén Durán Balda authored and GitHub committed 2020-05-18 16:18:43 -04:00
1 parent bbec3cb6af
commit 9f76454b32
1 file changed
+2
+2
View File
@@ -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."