From 07b3a775b16fb00ae1434ee0ac465990440e4bd3 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Wed, 12 Apr 2000 03:32:51 +0000 Subject: 10681: Setopts in _complete_help the same as _main_complete. --- ChangeLog | 6 +++++- Completion/Commands/_complete_help | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 37e10eb64..7d6c1b130 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2000-04-11 Clint Adams + * 10680: Completion/User/_diff_options: spelling corrections. 2000-04-11 Peter Stephenson @@ -8,7 +9,10 @@ 2000-04-11 Bart Schaefer - * 10657: One change missed in 10635. + * 10681: Completion/Commands/_complete_help: Setopts the same + as _main_complete. + + * 10657: Completion/User/_make: One change missed in 10635. * Functions/Prompts/prompt_bart_setup: No-op cleanup. diff --git a/Completion/Commands/_complete_help b/Completion/Commands/_complete_help index 13a230e6e..61d095047 100644 --- a/Completion/Commands/_complete_help +++ b/Completion/Commands/_complete_help @@ -1,6 +1,9 @@ #compdef -k complete-word \C-xh _complete_help() { + setopt localoptions nullglob rcexpandparam extendedglob + unsetopt markdirs globsubst shwordsplit nounset ksharrays + local _sort_tags=_help_sort_tags text i j k typeset -A help_funcs help_tags help_sfuncs help_styles -- cgit 1.4.1