From e01ff4c18ae305a45864b8c0104804676b6112e0 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Thu, 28 Feb 2008 18:29:04 +0000 Subject: 24626: only process command descriptions if extra-verbose style is set. --- ChangeLog | 3 +++ Completion/Unix/Type/_path_commands | 2 +- Doc/Zsh/compsys.yo | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a7c36b32f..bc3b90c50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-02-28 Clint Adams + * 24626: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo: + only process command descriptions if extra-verbose style is set. + * 24622: Completion/Unix/Command/_git: add completion for 'git bisect skip' and 'git bisect run'. diff --git a/Completion/Unix/Type/_path_commands b/Completion/Unix/Type/_path_commands index 722129a2d..abb5fbfa5 100644 --- a/Completion/Unix/Type/_path_commands +++ b/Completion/Unix/Type/_path_commands @@ -26,7 +26,7 @@ return 1 _path_commands() { local need_desc expl ret=1 -if zstyle -T ":completion:${curcontext}:" verbose; then +if zstyle -T ":completion:${curcontext}:" extra-verbose; then local update_policy first if [[ $+_command_descriptions -eq 0 ]]; then first=yes diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index c609991d6..6350dfb84 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1672,6 +1672,12 @@ Excluded values act in a similar fashion to values of the tt(ignored-patterns) style, so they can be restored to consideration by the tt(_ignored) completer. ) +kindex(extra-verbose, completion style) +item(tt(extra-verbose))( +If set, the completion listing is more verbose at the cost of +a probable decrease in completion speed. Completion performance +will suffer if this style is set to `true'. +) kindex(ignored-patterns, completion style) item(tt(ignored-patterns))( A list of patterns; any trial completion matching one of the patterns -- cgit 1.4.1