summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-05-07 19:52:09 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-05-16 18:28:26 +0200
commit65852a734cfe7f4b0637f349b7ee38d04d760f92 (patch)
tree9c7d549599cd51972b187f3d6ac0cdbf9bfd6558
parent54325: docs: swap eval contexts for <(...) and >(...) (diff)
downloadzsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar.gz
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar.bz2
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar.lz
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar.xz
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.tar.zst
zsh-65852a734cfe7f4b0637f349b7ee38d04d760f92.zip
54530: Fix typo in default value for avoid-completer
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Base/Completer/_all_matches2
-rw-r--r--Doc/Zsh/compsys.yo2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a2a390736..7b7fa7fb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-16 Mikael Magnusson <mikachu@gmail.com>
+
+ * 54530: Completion/Base/Completer/_all_matches,
+ Doc/Zsh/compsys.yo: Fix typo in default value for avoid-completer
+
2026-05-15 dana <dana@dana.is>
* 54325: Doc/Zsh/params.yo: swap eval contexts for <(...) and
diff --git a/Completion/Base/Completer/_all_matches b/Completion/Base/Completer/_all_matches
index 59a6d8060..5f6841551 100644
--- a/Completion/Base/Completer/_all_matches
+++ b/Completion/Base/Completer/_all_matches
@@ -28,7 +28,7 @@ _all_matches_end() {
local not
zstyle -s "$_all_matches_context" avoid-completer not ||
- not=( _expand _old_list _correct _approximate )
+ not=( _expand _oldlist _correct _approximate )
if [[ "$compstate[nmatches]" -gt 1 && $not[(I)(|_)$_completer] -eq 0 ]]; then
local expl
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 9184072a5..7f748ad73 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1209,7 +1209,7 @@ generated. Its value is a list of names of completers. If any of
these is the name of the completer that generated the matches in this
completion, the string will not be added.
-The default value for this style is `tt(_expand _old_list _correct
+The default value for this style is `tt(_expand _oldlist _correct
_approximate)', i.e. it contains the completers for which a string
with all matches will almost never be wanted.
)