about summary refs log tree commit diff
path: root/Completion/Commands/_correct_word
diff options
context:
space:
mode:
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"