about summary refs log tree commit diff
path: root/Completion/Commands/_complete_help
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Commands/_complete_help')
-rw-r--r--Completion/Commands/_complete_help3
1 files changed, 3 insertions, 0 deletions
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