From b0337944b4b85be85c8835a07112e02bcec5e675 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 5 Jul 2000 21:05:57 +0000 Subject: mention more standard tags in documentation and fix some typos (12177) --- Completion/Builtins/_unhash | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Completion') diff --git a/Completion/Builtins/_unhash b/Completion/Builtins/_unhash index a8f366180..927511887 100644 --- a/Completion/Builtins/_unhash +++ b/Completion/Builtins/_unhash @@ -7,8 +7,7 @@ _arguments -C -s \ '(-d -f *)-a[remove aliases]:*:aliases:_aliases' \ '(-d -a *)-f[remove functions]:*:functions:_functions' \ '-m[treat arguments as patterns]' \ - '*:commands: _command_names -e' && return 0 + '*:commands: _command_names -e' && return 0 -if [[ "$state" = nameddir ]]; then - _wanted nameddir expl 'named directory' compadd -k nameddirs -fi +[[ "$state" = nameddir ]] && + _wanted named-directories expl 'named directory' compadd -k nameddirs -- cgit 1.4.1