From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: generals observations about completion system
Date: Wed, 4 Oct 2000 13:44:44 +0200 (MET DST) [thread overview]
Message-ID: <200010041144.NAA09493@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "E. Jay Berkenbilt"'s message of Sun, 17 Sep 2000 19:33:49 -0400
E. Jay Berkenbilt wrote:
Most of this has been answered or is being thought about or worked
upon elsewhere, so I'll jump to:
> ...
>
> 2. The ssh completion function does not use the user-hosts style
> even though this style is documented. (If it uses it, I've
> missed it.) It knows about ssh's ability to say ssh user@host
> rather than ssh host -l user. You can easily override the list
> of hosts to be completed by setting the hosts style for the ssh
> command, but this doesn't entirely solve the problem. If I hit
>
> ssh TAB
>
> I get a list of all users and hosts. There are a lot more users
> on my system than there are hosts that I ssh to. I want to
> change ssh to complete only on hosts, not on users. If I want
> users, I'll use -l. There seems to be no good way to do this
> without simply copying and modifying the _ssh file.
Look at the `tag-order' style (probably the most important style). If
you're feeling bold, look at the `hidden' style (probably together
with `group-name'; it would allow you to just keep the user names from
being listed).
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-10-04 11:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-04 11:44 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-09-17 23:33 E. Jay Berkenbilt
2000-09-19 4:59 ` Bart Schaefer
2000-09-19 9:04 ` Peter Stephenson
2000-09-19 15:19 ` Bart Schaefer
2000-09-19 15:51 ` Clint Adams
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=200010041144.NAA09493@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).