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