about summary refs log tree commit diff
path: root/Completion/Commands/_correct_word
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-02-28 16:55:27 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-02-28 16:55:27 +0000
commit43e41bcbc7008f51a0c902723ab48b39cffbf969 (patch)
tree057abb017cf840205b73a8bad44d01bdca35cc16 /Completion/Commands/_correct_word
parent9ccaaa40ebd86180166c9a9d837522ceac63b1c2 (diff)
downloadzsh-43e41bcbc7008f51a0c902723ab48b39cffbf969.tar.gz
zsh-43e41bcbc7008f51a0c902723ab48b39cffbf969.tar.xz
zsh-43e41bcbc7008f51a0c902723ab48b39cffbf969.zip
Use ksh-style deref of $_comp_options in case of ksharrays.
Diffstat (limited to 'Completion/Commands/_correct_word')
-rw-r--r--Completion/Commands/_correct_word2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Commands/_correct_word b/Completion/Commands/_correct_word
index c0b03dd02..11b37efb1 100644
--- a/Completion/Commands/_correct_word
+++ b/Completion/Commands/_correct_word
@@ -7,7 +7,7 @@
 # If configurations keys with the prefix `correctword_' are
 # given they override those starting with `correct_'.
 
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
 
 local curcontext="$curcontext"