On Fri, Jun 22, 2007 at 05:15:07PM -0400, Clint Adams wrote: > > all is in the title, I'd like to have the Hosts 'arguments' from > > .ssh/config to be added in the _hosts completion if possible. > > > > sth like: > > hosts=(${${${$(grep '^Host' ~/.ssh/config)}##Host }##[*0-9]*}) > > > > works, not sure if there isn't better actually :) > > I don't think that does what you think it does.
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 -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
pgpvszMLbE6Hy.pgp
Description: PGP signature