summaryrefslogtreecommitdiff
path: root/Completion/Core/_wanted
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_wanted')
-rw-r--r--Completion/Core/_wanted14
1 files changed, 7 insertions, 7 deletions
diff --git a/Completion/Core/_wanted b/Completion/Core/_wanted
index 958f9e18e..3e25fdbbc 100644
--- a/Completion/Core/_wanted
+++ b/Completion/Core/_wanted
@@ -1,26 +1,26 @@
#autoload
-local targs gopt=-J
+local __targs __gopt=-J
if [[ "$1" = -C?* ]]; then
- targs=( -C "${1[3,-1]}" )
+ __targs=( -C "${1[3,-1]}" )
shift
elif [[ "$1" = -C ]]; then
- targs=( -C "$2" )
+ __targs=( -C "$2" )
shift 2
else
- targs=()
+ __targs=()
fi
if [[ "$1" = -([12]|)[VJ] ]]; then
- gopt="$1"
+ __gopt="$1"
shift
fi
-_tags "$targs[@]" "$1"
+_tags "$__targs[@]" "$1"
while _tags; do
- _all_labels "$gopt" "$@" && return 0
+ _all_labels "$__gopt" "$@" && return 0
done
return 1