mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
zsh-workers/10165
This commit is contained in:
parent
de70d0661c
commit
3d81d10195
2 changed files with 14 additions and 6 deletions
|
|
@ -1310,7 +1310,7 @@ the section `Autoloading Functions' in zmanref(zshfunc)
|
||||||
)\
|
)\
|
||||||
ifnzman(\
|
ifnzman(\
|
||||||
noderef(Functions)
|
noderef(Functions)
|
||||||
)
|
)\
|
||||||
for a description of how autoloaded functions are searched).
|
for a description of how autoloaded functions are searched).
|
||||||
|
|
||||||
If there is at least one var(name) argument, the wordcode for all
|
If there is at least one var(name) argument, the wordcode for all
|
||||||
|
|
|
||||||
|
|
@ -292,11 +292,16 @@ of that function.
|
||||||
)
|
)
|
||||||
item()(
|
item()(
|
||||||
The var(completer) currently active, i.e. the name of the completer
|
The var(completer) currently active, i.e. the name of the completer
|
||||||
function without the leading underscore. Such a completer is in
|
function without the leading underscore, followed by a minus sign and a
|
||||||
overall control of how completion is to be performed; `tt(complete)'
|
number. The number is 1 on the first call to a completer, 2 on the second
|
||||||
is the basic one for ordinary completion, but completers may perform
|
call to the em(same) completer, etc.; this is used to provide fine control
|
||||||
various related tasks such as correction, or modify the behaviour of a
|
of when a completion style is used (see `Standard Styles' in
|
||||||
later completer (see
|
ifzman(the section `Completion System Configuration' below)\
|
||||||
|
ifnzman(noderef(Completion System Configuration))
|
||||||
|
for examples). Such a completer is in overall control of how completion
|
||||||
|
is to be performed; `tt(complete)' is the basic one for ordinary
|
||||||
|
completion, but completers may perform various related tasks such as
|
||||||
|
correction, or modify the behaviour of a later completer (see
|
||||||
ifzman(the section `Control Functions' below)\
|
ifzman(the section `Control Functions' below)\
|
||||||
ifnzman(noderef(Control Functions))
|
ifnzman(noderef(Control Functions))
|
||||||
for more information).
|
for more information).
|
||||||
|
|
@ -1294,6 +1299,9 @@ and no other completer will be called.
|
||||||
It is sometimes useful to set this style for the tt(correct) or
|
It is sometimes useful to set this style for the tt(correct) or
|
||||||
tt(approximate) completer so that ignored matches are prefered over
|
tt(approximate) completer so that ignored matches are prefered over
|
||||||
corrections.
|
corrections.
|
||||||
|
|
||||||
|
example(zstyle ':completion:*:complete-2:*' prefer-ignored yes
|
||||||
|
zstyle ':completion:*:(correct|approximate)-1:*' prefer-ignored yes)
|
||||||
)
|
)
|
||||||
item(tt(prefix-hidden))(
|
item(tt(prefix-hidden))(
|
||||||
This is used when matches with a common prefix are added (e.g. option
|
This is used when matches with a common prefix are added (e.g. option
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue