diff options
Diffstat (limited to 'Completion/Builtins/_which')
-rw-r--r-- | Completion/Builtins/_which | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Builtins/_which b/Completion/Builtins/_which index 30d20ab36..328f7730c 100644 --- a/Completion/Builtins/_which +++ b/Completion/Builtins/_which @@ -5,10 +5,10 @@ local expl _description expl 'external command' compadd "$expl[@]" "$@" - "${(k@)commands}" && ret=0 _description expl 'builtin command' -compadd "$expl[@]" "$@" - "${(k@)builtins[(R)^?disabled*]}" && ret=0 +compadd "$expl[@]" "$@" - "${(k@)builtins}" && ret=0 _description expl 'shell function' -compadd "$expl[@]" "$@" - "${(k@)functions[(R)^?disabled*]}" && ret=0 +compadd "$expl[@]" "$@" - "${(k@)functions}" && ret=0 _description expl 'alias' -compadd "$expl[@]" "$@" - "${(k@)raliases[(R)^?disabled*]}" && ret=0 +compadd "$expl[@]" "$@" - "${(k@)raliases}" && ret=0 _description expl 'reserved word' -compadd "$expl[@]" "$@" - "${(k@)reswords[(R)^?disabled*]}" && ret=0 +compadd "$expl[@]" "$@" - "${(k@)reswords}" && ret=0 |