On Sat, Jun 23, 2007 at 12:33:21PM +0100, Pierre Habouzit wrote:
> Anyways, I'm not using it anymore because I fancy the
> .ssh/known_hosts more, but I miss it :)
We could do something like this to generate matches from ~/.ssh/config .
Anyone have better ideas?
Index: Completion/Unix/Type/_host
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 defa
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 de
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]*})
> >
> > wor
> 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 wha
Package: zsh
Version: 4.3.4-8
Severity: normal
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 actua
6 matches
Mail list logo