about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-02-28 16:35:49 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-02-28 16:35:49 +0000
commit9ccaaa40ebd86180166c9a9d837522ceac63b1c2 (patch)
tree423eb9bafc3571d48eb7c3fd3dd8e731177abbdc /Completion/Core
parent061c1ce9129b3d34e8cf386633bbcc54110bd569 (diff)
downloadzsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.tar.gz
zsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.tar.xz
zsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.zip
Work when ksh_arrays is set but before the setopt takes effect (13555)
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_main_complete2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_main_complete b/Completion/Core/_main_complete
index 5c7484df4..f86593cb7 100644
--- a/Completion/Core/_main_complete
+++ b/Completion/Core/_main_complete
@@ -16,7 +16,7 @@
 # which makes the output of setopt and unsetopt reflect a different
 # state than the global one for which you are completing.
 
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
 
 exec </dev/null	# ZLE closes stdin, which can cause errors