From 43e41bcbc7008f51a0c902723ab48b39cffbf969 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 28 Feb 2001 16:55:27 +0000 Subject: Use ksh-style deref of $_comp_options in case of ksharrays. --- Completion/Commands/_bash_completions | 2 +- Completion/Commands/_complete_debug | 2 +- Completion/Commands/_complete_help | 2 +- Completion/Commands/_correct_word | 2 +- Completion/Commands/_expand_word | 2 +- Completion/Commands/_history_complete_word | 2 +- Completion/Commands/_next_tags | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Completion/Commands') 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