Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Fix typo in default value for avoid-completer



---
 Completion/Base/Completer/_all_matches | 2 +-
 Doc/Zsh/compsys.yo                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Completion/Base/Completer/_all_matches b/Completion/Base/Completer/_all_matches
index 59a6d80603..5f68415515 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 9184072a55..7f748ad733 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.
 )
-- 
2.38.1





Messages sorted by: Reverse Date, Date, Thread, Author