mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-06-18 21:38:03 +02:00
53463: _hosts: allow overriding the default matching control
This commit is contained in:
parent
8c3c457321
commit
b86f5d4c62
2 changed files with 7 additions and 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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue