1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-02-01 03:22:30 +01:00

24626: only process command descriptions if extra-verbose style is set.

This commit is contained in:
Clint Adams 2008-02-28 18:29:04 +00:00
parent 969913577e
commit e01ff4c18a
3 changed files with 10 additions and 1 deletions

View file

@ -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'.

View file

@ -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

View file

@ -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