1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 04:12:06 +02:00

manual/9109

This commit is contained in:
Tanaka Akira 1999-12-17 18:05:48 +00:00
parent 0679237b81
commit 6978986a4c

View file

@ -4,7 +4,7 @@ local expl hosts
if ! zstyle -a ":completion${curcontext}:hosts" hosts hosts; then
(( $+_cache_hosts )) ||
: ${(A)_cache_hosts:=${(s: :)${(ps:\t:)${${(f)"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}}
: ${(A)_cache_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}}
hosts=( "$_cache_hosts[@]" )
fi