diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-04-09 08:54:54 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-04-09 08:54:54 -0700 |
commit | 8142fc3fdbaa43a20eeb6da3f4c9099973e4f1e3 (patch) | |
tree | 6bb2187cb2804205e0562ee9e458ee0f4e2eb316 | |
parent | 4df62e32fcca80e6869b27bb7823a95337c984ca (diff) | |
download | zsh-8142fc3fdbaa43a20eeb6da3f4c9099973e4f1e3.tar.gz zsh-8142fc3fdbaa43a20eeb6da3f4c9099973e4f1e3.tar.xz zsh-8142fc3fdbaa43a20eeb6da3f4c9099973e4f1e3.zip |
For help listing, capture the fallback to compctl in case there is one defined
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Base/Widget/_complete_help | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index bf20a5f23..ac26813ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-04-09 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Completion/Base/Widget/_complete_help: capture the + fallback to compctl in case there is one defined + 2016-04-09 Daniel Shahaf <d.s@daniel.shahaf.name> * 38255: Completion/Unix/Command/_git: Fix argument pastedness. 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 |