about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/_arguments4
1 files changed, 1 insertions, 3 deletions
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index f7e1cdedd..fa72f323d 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -166,7 +166,7 @@ _style -s options auto-description autod
 if comparguments -i "$autod" "$@"; then
   local nm="$compstate[nmatches]" action noargs aret expl local
   local next direct odirect equal single match matched ws tmp1 tmp2
-  local opts subc
+  local opts subc prefix suffix
 
   if comparguments -D descr action; then
     comparguments -C subc
@@ -289,8 +289,6 @@ if comparguments -i "$autod" "$@"; then
       if [[ -n "$opts" && -z "$aret$matched" &&
             nm -eq compstate[nmatches] ]]; then
 
-        local prefix suffix
-
         prefix="${PREFIX#*\=}"
         suffix="$SUFFIX"
         PREFIX="${PREFIX%%\=*}"