summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Zsh/Type/_globquals1
-rw-r--r--Doc/Zsh/expn.yo7
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 44171d558..71e1b2f76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Completion/Zsh/Type/_globquals b/Completion/Zsh/Type/_globquals
index bc3165eba..beb47ed30 100644
--- a/Completion/Zsh/Type/_globquals
+++ b/Completion/Zsh/Type/_globquals
@@ -268,6 +268,7 @@ case $state in
"P:prepend word"
"Y:+ at most ARG matches"
"[:+ range of files"
+ ",:logical OR"
"):end of qualifiers"
"\::modifier"
)
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 5be40bf25..86a5f70c8 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -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