From 8142fc3fdbaa43a20eeb6da3f4c9099973e4f1e3 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 9 Apr 2016 08:54:54 -0700 Subject: For help listing, capture the fallback to compctl in case there is one defined --- Completion/Base/Widget/_complete_help | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Base/Widget/_complete_help b/Completion/Base/Widget/_complete_help index 09637ecb9..252b0e281 100644 --- a/Completion/Base/Widget/_complete_help +++ b/Completion/Base/Widget/_complete_help @@ -11,6 +11,7 @@ _complete_help() { { compadd() { return 1 } + compcall() { _help_sort_tags use-compctl } zstyle() { local _f="${${(@)${(@)funcstack[2,(i)_($~_help_scan_funcstack)]}:#(_($~_help_filter_funcstack)|\((eval|anon)\))}% *}" @@ -42,7 +43,7 @@ _complete_help() { ${1:-_main_complete} } always { - unfunction compadd zstyle + unfunction compadd compcall zstyle } for i in "${(@ok)help_funcs}"; do -- cgit 1.4.1