From fd25b24df6b4f098944c4994195d3894a27a8208 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 31 May 2000 09:38:25 +0000 Subject: use compadd -[ak] (11549) --- Completion/Core/_next_label | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Completion/Core/_next_label') diff --git a/Completion/Core/_next_label b/Completion/Core/_next_label index 95569df3b..ca40d9a33 100644 --- a/Completion/Core/_next_label +++ b/Completion/Core/_next_label @@ -1,21 +1,21 @@ #autoload -local gopt=-J descr spec +local __gopt=-J __descr __spec if [[ "$1" = -([12]|)[VJ] ]]; then - gopt="$1" + __gopt="$1" shift fi -if comptags -A "$1" curtag spec; then - _comp_tags="$_comp_tags $spec " +if comptags -A "$1" curtag __spec; then + _comp_tags="$_comp_tags $__spec " if [[ "$curtag" = *:* ]]; then - zformat -f descr "${curtag#*:}" "d:$3" - _description "$gopt" "${curtag%:*}" "$2" "$descr" + zformat -f __descr "${curtag#*:}" "d:$3" + _description "$__gopt" "${curtag%:*}" "$2" "$__descr" curtag="${curtag%:*}" set -A $2 "${(P@)2}" "${(@)argv[4,-1]}" else - _description "$gopt" "$curtag" "$2" "$3" + _description "$__gopt" "$curtag" "$2" "$3" set -A $2 "${(@)argv[4,-1]}" "${(P@)2}" fi -- cgit 1.4.1