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