From b86f5d4c62cc44cd4faa5954f03d0da094e5c513 Mon Sep 17 00:00:00 2001 From: Eric Cook Date: Sat, 12 Apr 2025 12:37:00 -0400 Subject: 53463: _hosts: allow overriding the default matching control --- ChangeLog | 6 ++++++ Completion/Unix/Type/_hosts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73127d0f2..f9a2aa15d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-04-20 Eric Cook + + * 53463: Completion/Unix/Type/_hosts: allow overriding the default + matching control + + 2025-04-19 dana * 53483: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c, diff --git a/Completion/Unix/Type/_hosts b/Completion/Unix/Type/_hosts index 4057fee10..d242e2931 100644 --- a/Completion/Unix/Type/_hosts +++ b/Completion/Unix/Type/_hosts @@ -75,4 +75,4 @@ if ! zstyle -a ":completion:${curcontext}:hosts" hosts _hosts; then fi _wanted hosts expl host \ - compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' -a "$@" - _hosts + compadd -a "$@" -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' - _hosts -- cgit v1.2.3