diff options
author | Eric Cook <illua@users.sourceforge.net> | 2025-04-12 12:37:00 -0400 |
---|---|---|
committer | Eric Cook <illua@users.sourceforge.net> | 2025-04-20 09:46:27 -0400 |
commit | b86f5d4c62cc44cd4faa5954f03d0da094e5c513 (patch) | |
tree | 78d8532b54a4359346319de10bc21d169e09a3bc | |
parent | 8c3c45732131433645686cdb6bbbb8974230c5a9 (diff) | |
download | zsh-b86f5d4c62cc44cd4faa5954f03d0da094e5c513.tar.gz zsh-b86f5d4c62cc44cd4faa5954f03d0da094e5c513.zip |
53463: _hosts: allow overriding the default matching control
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Unix/Type/_hosts | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2025-04-20 Eric Cook <illua@users.sourceforge.net> + + * 53463: Completion/Unix/Type/_hosts: allow overriding the default + matching control + + 2025-04-19 dana <dana@dana.is> * 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 |