about summary refs log tree commit diff
path: root/Completion/Commands/_expand_word
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Commands/_expand_word')
-rw-r--r--Completion/Commands/_expand_word2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Commands/_expand_word b/Completion/Commands/_expand_word
index 45173a4ba..48ce87ede 100644
--- a/Completion/Commands/_expand_word
+++ b/Completion/Commands/_expand_word
@@ -2,7 +2,7 @@
 
 # Simple completion front-end implementing expansion.
 
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
 
 local curcontext="$curcontext"