From b554f713992edf10d063c1d7b0a7d2239e958719 Mon Sep 17 00:00:00 2001 From: rupa Date: Sun, 3 Mar 2013 00:51:32 -0500 Subject: [PATCH] Use _Z_CMD in z -h --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index 1aebd2a..b441a5a 100755 --- a/z.sh +++ b/z.sh @@ -100,7 +100,7 @@ _z() { else # list/go 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;; -r) local typ="rank";; -t) local typ="recent";;