about summary refs log tree commit diff
path: root/Completion/Unix/Type/_hosts
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:45:24 +0000
commit0ba8ae87eac21281e0b17eb9cbb523d133067a4a (patch)
tree614cc49ce90c3c2562f83d6739f8ea76dc75d7f0 /Completion/Unix/Type/_hosts
parent9181f0e3059862d2d8cc109bc849f8705cbbc23c (diff)
downloadzsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.gz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.tar.xz
zsh-0ba8ae87eac21281e0b17eb9cbb523d133067a4a.zip
21315: make completion functions give precendence to descriptions passed as
parameters and cleanup descriptons in calling functions
Diffstat (limited to 'Completion/Unix/Type/_hosts')
-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 e530c8b42..67e06f295 100644
--- a/Completion/Unix/Type/_hosts
+++ b/Completion/Unix/Type/_hosts
@@ -18,4 +18,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 -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' -a "$@" - hosts