Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: replacing completion
- X-seq: zsh-users 4943
- From: poeml@xxxxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: Re: replacing completion
- Date: Wed, 8 May 2002 16:39:20 +0200
- In-reply-to: <20020508090045.G13119@xxxxxxxx>; from andrei@xxxxxxxx on Wed, May 08, 2002 at 09:00:45 -0500
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020508090045.G13119@xxxxxxxx>
On Wed, May 08, 2002 at 09:00:45 -0500, Andrei Zmievski wrote:
> Hi,
>
> I'm trying to write a completion command that accomplishes the
> following. When I type 'ssh foo' and hit TAB, I want it to expand to
> 'user@xxxxxxxxxxxxxxxxx'. I am not very skilled in zsh completion
> specifications, so I tried this:
It seems you could also add
Host foo
User user
to .ssh/config, so the ssh client would take care of that itself.
(Not that I want to prevent you from having fun with hacking on
completion :)
Peter
--
Thought is limitation. Free your mind.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author