summaryrefslogtreecommitdiff
path: root/Completion
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2025-04-12 12:37:00 -0400
committerEric Cook <illua@users.sourceforge.net>2025-04-20 09:46:27 -0400
commitb86f5d4c62cc44cd4faa5954f03d0da094e5c513 (patch)
tree78d8532b54a4359346319de10bc21d169e09a3bc /Completion
parent8c3c45732131433645686cdb6bbbb8974230c5a9 (diff)
downloadzsh-b86f5d4c62cc44cd4faa5954f03d0da094e5c513.tar.gz
zsh-b86f5d4c62cc44cd4faa5954f03d0da094e5c513.zip
53463: _hosts: allow overriding the default matching control
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_hosts2
1 files changed, 1 insertions, 1 deletions
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