From 35b2633ad941966f5fca07b625a594a5b68c0fdb Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 15 Nov 1999 12:01:46 +0000 Subject: manual/8639 --- Completion/Builtins/_command | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Completion/Builtins/_command') diff --git a/Completion/Builtins/_command b/Completion/Builtins/_command index 23995dbbe..1cfa6add9 100644 --- a/Completion/Builtins/_command +++ b/Completion/Builtins/_command @@ -6,8 +6,6 @@ if [[ CURRENT -ge 3 ]]; then else local expl - _tags any:command commands || return 1 - - _description expl 'external command' - compadd "$expl[@]" "$@" - "${(k@)commands}" + _wanted commands expl 'external command' && + compadd "$expl[@]" "$@" - "${(k@)commands}" fi -- cgit 1.4.1