From: poeml@cmdline.net
To: zsh-users@sunsite.dk
Subject: Re: replacing completion
Date: Wed, 8 May 2002 16:39:20 +0200 [thread overview]
Message-ID: <20020508163920.A27207@cmdline.net> (raw)
In-Reply-To: <20020508090045.G13119@ispi.net>; from andrei@ispi.net on Wed, May 08, 2002 at 09:00:45 -0500
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@foo.someplace.net'. 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.
next prev parent reply other threads:[~2002-05-08 14:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-08 14:00 Andrei Zmievski
2002-05-08 14:39 ` poeml [this message]
2002-05-08 14:44 ` Andrei Zmievski
2002-05-08 15:53 ` Bart Schaefer
2002-05-08 16:00 ` Andrei Zmievski
2002-05-08 16:23 ` Bart Schaefer
2002-05-14 7:47 ` Sven Wischnowsky
2002-05-14 13:23 ` Andrei Zmievski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020508163920.A27207@cmdline.net \
--to=poeml@cmdline.net \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).