Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: add user control of hosts to complete
- X-seq: zsh-workers 7895
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: add user control of hosts to complete
- Date: Fri, 17 Sep 1999 09:35:35 +0200 (MET DST)
- In-reply-to: Adam Spiers's message of Fri, 17 Sep 1999 03:46:27 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Adam Spiers wrote:
> Hope this one's OK.
>
> ...
>
> : ${(A)hosts:=${(s: :)${(ps:\t:)${${(f)"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}}
Hm, this assignment already makes the value the user set `hosts' to
take precedence...
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author