mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-21 19:31:50 +02:00
51980: Add glob qualifier grouping operator to completion
Also improve wording in documentation to make glob qualifier grouping easier to find by explicit use of terms 'logical OR' and 'logical AND'.
This commit is contained in:
parent
bfc419e0c6
commit
d92b1a3547
@ -1,10 +1,13 @@
|
||||
2023-09-20 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* Atte Peltomäki: 51980: Completion/Zsh/Type/_globquals,
|
||||
Doc/Zsh/expn.yo: Add glob qualifier grouping operator to completion
|
||||
|
||||
* Jörg Sommer: 52102: Completion/Debian/Command/_apt:
|
||||
Add subcommand autopurge to apt completion
|
||||
|
||||
* Wesley Schwengle: 52141: Completion/Unix/Command/_git: add trailer
|
||||
token completion for git commit --trailer
|
||||
* Wesley Schwengle: 52141: Completion/Unix/Command/_git:
|
||||
add trailer token completion for git commit --trailer
|
||||
|
||||
* 52163: Completion/Unix/Command/_zfs: completion update for
|
||||
OpenZFS 2.2
|
||||
|
@ -268,6 +268,7 @@ case $state in
|
||||
"P:prepend word"
|
||||
"Y:+ at most ARG matches"
|
||||
"[:+ range of files"
|
||||
",:logical OR"
|
||||
"):end of qualifiers"
|
||||
"\::modifier"
|
||||
)
|
||||
|
@ -3117,9 +3117,10 @@ so both can be used on the same glob expression; for example by writing
|
||||
)
|
||||
enditem()
|
||||
|
||||
More than one of these lists can be combined, separated by commas. The
|
||||
whole list matches if at least one of the sublists matches (they are
|
||||
`or'ed, the qualifiers in the sublists are `and'ed). Some qualifiers,
|
||||
Multiple consecutive qualifiers are joined into a list by implicit logical AND.
|
||||
More than one of these lists can be combined using comma `tt(,)' as logical OR.
|
||||
The whole list matches if at least one of the sublists matches.
|
||||
Some qualifiers,
|
||||
however, affect all matches generated, independent of the sublist in
|
||||
which they are given. These are the qualifiers `tt(M)', `tt(T)',
|
||||
`tt(N)', `tt(D)', `tt(n)', `tt(o)', `tt(O)' and the subscripts given
|
||||
|
Loading…
Reference in New Issue
Block a user