diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-12 03:38:15 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-12 03:38:15 +0000 |
commit | e644c39ba1688c6b9c30afc86e4bf25a8bd47d3c (patch) | |
tree | 8d9bb4274b4c5df3f8bc41a2ce1a108c87dd54a1 /Completion/User/_hosts | |
parent | 189116eac0f70862330cb9a6e49a7a85474ea7fa (diff) | |
download | zsh-e644c39ba1688c6b9c30afc86e4bf25a8bd47d3c.tar.gz zsh-e644c39ba1688c6b9c30afc86e4bf25a8bd47d3c.tar.xz zsh-e644c39ba1688c6b9c30afc86e4bf25a8bd47d3c.zip |
zsh-workers/7781
Diffstat (limited to 'Completion/User/_hosts')
-rw-r--r-- | Completion/User/_hosts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_hosts b/Completion/User/_hosts index 2ea5169cb..9f5a39cca 100644 --- a/Completion/User/_hosts +++ b/Completion/User/_hosts @@ -5,4 +5,4 @@ local expl : ${(A)hosts:=${(s: :)${(ps:\t:)${${(f)"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} _description expl host -compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" "$expl[@]" - "${hosts[@]%:*}" +compadd -M 'm:{a-zA-Z}={A-Za-z} r:|.=* r:|=*' "$@" "$expl[@]" - "$hosts[@]" |