summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-07-22 13:22:20 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-07-22 13:22:20 +0000
commit164cf1abd5b006ef2db104aeab37ecfff51ad697 (patch)
treeeaca0a48cd2536fb61e0daf23ae889d10e0b672a /Completion
parent6b42b83f41a882cb107f686c96c7a8e6b3061b67 (diff)
downloadzsh-164cf1abd5b006ef2db104aeab37ecfff51ad697.tar.gz
zsh-164cf1abd5b006ef2db104aeab37ecfff51ad697.tar.xz
zsh-164cf1abd5b006ef2db104aeab37ecfff51ad697.zip
29596: fix syntax to work with ksh_arrays
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;