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/Builtins/_enable | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/Builtins/_enable') diff --git a/Completion/Builtins/_enable b/Completion/Builtins/_enable index b4f0356bc..07077abd6 100644 --- a/Completion/Builtins/_enable +++ b/Completion/Builtins/_enable @@ -4,19 +4,19 @@ local prev="$words[CURRENT-1]" ret=1 expl if [[ "$prev" = -*a* ]]; then _description expl alias - compadd "$expl[@]" "$@" - "${(k@)aliases[(R)?disabled*]}" && ret=0 + compadd "$expl[@]" "$@" - "${(k@)disaliases}" && ret=0 fi if [[ "$prev" = -*f* ]]; then _description expl 'shell function' - compadd "$expl[@]" "$@" - "${(k@)functions[(R)?disabled*]}" && ret=0 + compadd "$expl[@]" "$@" - "${(k@)disfunctions}" && ret=0 fi if [[ "$prev" = -*r* ]]; then _description expl 'reserved word' - compadd "$expl[@]" "$@" - "${(k@)reswords[(R)?disabled*]}" && ret=0 + compadd "$expl[@]" "$@" - "${(k@)disreswords}" && ret=0 fi if [[ "$prev" != -* ]]; then _description expl 'builtin command' - compadd "$expl[@]" "$@" - "${(k@)builtins[(R)?disabled*]}" && ret=0 + compadd "$expl[@]" "$@" - "${(k@)disbuiltins}" && ret=0 fi return ret -- cgit 1.4.1