about summary refs log tree commit diff
path: root/Completion/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Commands')
-rw-r--r--Completion/Commands/_bash_completions2
-rw-r--r--Completion/Commands/_complete_debug2
-rw-r--r--Completion/Commands/_complete_help2
-rw-r--r--Completion/Commands/_correct_word2
-rw-r--r--Completion/Commands/_expand_word2
-rw-r--r--Completion/Commands/_history_complete_word2
-rw-r--r--Completion/Commands/_next_tags2
7 files changed, 7 insertions, 7 deletions
diff --git a/Completion/Commands/_bash_completions b/Completion/Commands/_bash_completions
index f16b5e0a4..6980e8bfd 100644
--- a/Completion/Commands/_bash_completions
+++ b/Completion/Commands/_bash_completions
@@ -25,7 +25,7 @@
 # that will not have been overridden, so you should add '~' to the
 # list of keys at the top of the for-loop.
 
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
 
 local key=$KEYS[-1] expl
 
diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug
index d013f00d9..acdb48fd8 100644
--- a/Completion/Commands/_complete_debug
+++ b/Completion/Commands/_complete_debug
@@ -1,6 +1,6 @@
 #compdef -k complete-word \C-x?
 
-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}
 
 setopt localtraps noerrexit ; trap - ZERR
 
diff --git a/Completion/Commands/_complete_help b/Completion/Commands/_complete_help
index 2d2ba52d9..593a2983e 100644
--- a/Completion/Commands/_complete_help
+++ b/Completion/Commands/_complete_help
@@ -1,7 +1,7 @@
 #compdef -k complete-word \C-xh
 
 _complete_help() {
-  setopt localoptions $_comp_options
+  setopt localoptions ${_comp_options[@]}
 
   exec </dev/null	# ZLE closes stdin, which can cause errors
 
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"
 
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"
 
diff --git a/Completion/Commands/_history_complete_word b/Completion/Commands/_history_complete_word
index c15cd427b..48adb34bc 100644
--- a/Completion/Commands/_history_complete_word
+++ b/Completion/Commands/_history_complete_word
@@ -16,7 +16,7 @@
 #   range -- range of history words to complete
 
 _history_complete_word () {
-  setopt localoptions $_comp_options
+  setopt localoptions ${_comp_options[@]}
 
   local expl direction stop curcontext="$curcontext"
   local max slice hmax=$#historywords
diff --git a/Completion/Commands/_next_tags b/Completion/Commands/_next_tags
index 5d6b41e71..29196a14d 100644
--- a/Completion/Commands/_next_tags
+++ b/Completion/Commands/_next_tags
@@ -3,7 +3,7 @@
 # Main widget.
 
 _next_tags() {
-  setopt localoptions $_comp_options
+  setopt localoptions ${_comp_options[@]}
 
   local ins ops="$PREFIX$SUFFIX"