On Sat, Jun 23, 2007 at 03:47:21AM -0400, Clint Adams wrote: > 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 }:#*\**})
ah maybe :) Anyways, I'm not using it anymore because I fancy the .ssh/known_hosts more, but I miss it :) -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
pgpmJNxTir1ni.pgp
Description: PGP signature