summary refs log tree commit diff
path: root/Completion/Base/Completer
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/Completer')
-rw-r--r--Completion/Base/Completer/_prefix4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Completer/_prefix b/Completion/Base/Completer/_prefix
index a198f4cfb..c17b381e3 100644
--- a/Completion/Base/Completer/_prefix
+++ b/Completion/Base/Completer/_prefix
@@ -5,7 +5,7 @@
 [[ _matcher_num -gt 1 || -z "$SUFFIX" ]] && return 1
 
 local comp curcontext="$curcontext" tmp suf="$SUFFIX" \
-      _completer _completer_num \
+      _completer \
       _matcher _c_matcher _matchers _matcher_num
 
 zstyle -a ":completion:${curcontext}:" completer comp ||
@@ -18,7 +18,7 @@ else
 fi
 SUFFIX=''
 
-_completer_num=1
+local _completer_num=1
 
 for tmp in "$comp[@]"; do
   if [[ "$tmp" = *:-* ]]; then