Skip to content

Commit

Permalink
Add -x and -h options to the script header doc (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruduran authored May 18, 2020
1 parent bbec3cb commit 9f76454
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions z.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 9f76454

Please sign in to comment.