On Fri, Jun 22, 2007 at 11:22:16PM +0100, Pierre Habouzit wrote:
>   I mean it was part of my "style" widget or whatever name it has. I
> used it throug zstyle 'completion:*:hosts: hosts $hosts
> 
>   but that overrides the default, and I'd like to merge it, and I think
> it's pretty useful as a default. So instead of trying to merge it in my
> file, I'm lazily asking someone who groks zsh to merge it in _hosts

No, I mean that it gives me an array that looks like

(Host Host subversions.gnu.org)

Also, I use wildcards in my ~/.ssh/config, so it should probably exclude
those too.

So maybe something like

hosts=(${${${(M)${(f)"$(<~/.ssh/config)"}:#Host*}#Host }:#*\**})


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to