Use _Z_CMD in z -h
This commit is contained in:
1 parent
f186800c13
commit
b554f71399
1 file changed
+1
-1
@@ -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";;
|
||||||
|
|||||||
Reference in new issue
Block a user