From 8066c8066520d734d22ab17992bd3787777d4130 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 28 Oct 1999 08:13:52 +0000 Subject: zsh-workers/8471 --- Completion/Base/_command_names | 8 ++++---- Completion/Base/_equal | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Completion/Base') diff --git a/Completion/Base/_command_names b/Completion/Base/_command_names index 79bd46e84..a640e196b 100644 --- a/Completion/Base/_command_names +++ b/Completion/Base/_command_names @@ -24,13 +24,13 @@ compadd "$expl[@]" "$@" - "${(k@)commands}" && ret=0 if [[ -z "$ext" ]]; then _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 fi if [[ nm -eq compstate[nmatches] ]]; then diff --git a/Completion/Base/_equal b/Completion/Base/_equal index 1ba92cdc6..c50741ed4 100644 --- a/Completion/Base/_equal +++ b/Completion/Base/_equal @@ -3,6 +3,6 @@ local expl _description expl alias -compadd "$@" "$expl[@]" - "${(@k)aliases[(R)^?disabled*]}" +compadd "$@" "$expl[@]" - "${(@k)aliases}" _description expl command compadd "$@" "$expl[@]" - "${(k@)commands}" -- cgit 1.4.1