about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Core/_main_complete2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 21e67cfa7..86e74c191 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-28  Oliver Kiddle  <opk@zsh.org>
+
+	* 13555: Completion/Core/_main_complete: handle ksh_arrays on the
+	setopt line to fix problem from users/3648
+
 2001-02-28  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 13554: Completion/Core/compinit, Doc/Zsh/options.yo, Src/lex.c,
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