diff options
Diffstat (limited to 'Completion/User')
-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 9de9b2d96..6078514b6 100644 --- a/Completion/User/_hosts +++ b/Completion/User/_hosts @@ -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 |