summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/compinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/compinit b/Completion/compinit
index a0f2348a9..d25642e5d 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -161,7 +161,7 @@ _comp_options=(
 # and don't get confused by user's ZERR trap handlers.
 
 typeset -g _comp_setup='local -A _comp_caller_options;
-             _comp_caller_options=(${(kv)options});
+             _comp_caller_options=(${(kv)options[@]});
              setopt localoptions localtraps ${_comp_options[@]};
              local IFS=$'\'\ \\t\\r\\n\\0\''
              exec </dev/null;