about summary refs log tree commit diff
path: root/Completion/Commands/_complete_help
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/_complete_help
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/_complete_help')
-rw-r--r--Completion/Commands/_complete_help2
1 files changed, 1 insertions, 1 deletions
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