diff options
author | Clint Adams <clint@users.sourceforge.net> | 2008-02-28 18:29:04 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2008-02-28 18:29:04 +0000 |
commit | e01ff4c18ae305a45864b8c0104804676b6112e0 (patch) | |
tree | ab79aea36fb60580fd78f07e6fdd864f0c57e127 | |
parent | 969913577e2466c4ef4348b3088bf057277e2afd (diff) | |
download | zsh-e01ff4c18ae305a45864b8c0104804676b6112e0.tar.gz zsh-e01ff4c18ae305a45864b8c0104804676b6112e0.tar.xz zsh-e01ff4c18ae305a45864b8c0104804676b6112e0.zip |
24626: only process command descriptions if extra-verbose style is set.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Type/_path_commands | 2 | ||||
-rw-r--r-- | Doc/Zsh/compsys.yo | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index a7c36b32f..bc3b90c50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-02-28 Clint Adams <clint@zsh.org> + * 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 |