mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
zsh-3.1.5-pws-12
This commit is contained in:
parent
7a0415cfd7
commit
04a89199d0
65 changed files with 1935 additions and 585 deletions
|
@ -703,7 +703,8 @@ The pattern var(tpat) may also be a single star, `tt(*)'. This means
|
|||
that the pattern on the command line can match any number of characters
|
||||
in the trial completion. In this case the pattern must be anchored (on
|
||||
either side); the var(anchor) then determines how much of the trial
|
||||
completion is to be included.
|
||||
completion is to be included --- only the characters up to the next
|
||||
appearance of the anchor will be matched.
|
||||
|
||||
Examples:
|
||||
|
||||
|
@ -758,7 +759,8 @@ nofill(tt(compctl -M 'r:|.=* r:|=*' \
|
|||
-k '(comp.sources.unix comp.sources.misc ...)' ngroups))
|
||||
)
|
||||
The first specification says that tt(lpat) is the empty string, while
|
||||
tt(anchor) is a dot; tt(tpat) is tt(*), so this can match anything in
|
||||
tt(anchor) is a dot; tt(tpat) is tt(*), so this can match anything
|
||||
except for the `tt(.)' from the anchor in
|
||||
the trial completion word. So in tt(c.s.u), the matcher sees tt(c),
|
||||
followed by the empty string, followed by the anchor `tt(.)', and
|
||||
likewise for the second dot, and replaces the empty strings before the
|
||||
|
|
|
@ -176,6 +176,12 @@ tt(LIST_AMBIGUOUS) is set, respectively. Inside the completion widget
|
|||
it may be set to any of these values to make the completion code as if
|
||||
the appropriate options had been set.
|
||||
)
|
||||
item(tt(force_list))(
|
||||
If the value for the tt(list) key is tt(ambiguous), the list will
|
||||
normally be shown only if there are at least two matches in the
|
||||
list. Setting tt(force_list) to an non-empty string makes the list be
|
||||
shown even if there is only one match.
|
||||
)
|
||||
item(tt(insert))(
|
||||
This will be unset by the completon code if the contents of the
|
||||
command line will not be changed. It is set to tt(unambiguous),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue