diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-02-28 16:35:49 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-02-28 16:35:49 +0000 |
commit | 9ccaaa40ebd86180166c9a9d837522ceac63b1c2 (patch) | |
tree | 423eb9bafc3571d48eb7c3fd3dd8e731177abbdc | |
parent | 061c1ce9129b3d34e8cf386633bbcc54110bd569 (diff) | |
download | zsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.tar.gz zsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.tar.xz zsh-9ccaaa40ebd86180166c9a9d837522ceac63b1c2.zip |
Work when ksh_arrays is set but before the setopt takes effect (13555)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Core/_main_complete | 2 |
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 |