Use _Z_CMD in z -h

This commit is contained in:
rupa committed 2013-03-03 00:51:32 -05:00
1 parent f186800c13
commit b554f71399
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ _z() {
else else
# list/go # list/go
while [ "$1" ]; do case "$1" in while [ "$1" ]; do case "$1" in
-h) echo "z [-h][-l][-r][-t] args" >&2; return;; -h) echo "${_Z_CMD:-z} [-h][-l][-r][-t] args" >&2; return;;
-l) local list=1;; -l) local list=1;;
-r) local typ="rank";; -r) local typ="rank";;
-t) local typ="recent";; -t) local typ="recent";;