summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-04-12 03:32:51 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-04-12 03:32:51 +0000
commit07b3a775b16fb00ae1434ee0ac465990440e4bd3 (patch)
treedb8986c0460956dd87cff64a22e6a82f36579be9
parentc39481cb6d172d4e77bdc1e963d13cbdbea64954 (diff)
downloadzsh-07b3a775b16fb00ae1434ee0ac465990440e4bd3.tar.gz
zsh-07b3a775b16fb00ae1434ee0ac465990440e4bd3.tar.xz
zsh-07b3a775b16fb00ae1434ee0ac465990440e4bd3.zip
10681: Setopts in _complete_help the same as _main_complete.
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Commands/_complete_help3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37e10eb64..7d6c1b130 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
 2000-04-11  Clint Adams  <schizo@debian.org>
+
 	* 10680: Completion/User/_diff_options: spelling corrections.
 
 2000-04-11  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
@@ -8,7 +9,10 @@
 
 2000-04-11  Bart Schaefer  <schaefer@zsh.org>
 
-	* 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