From: Nemeth Ervin <airwin@inf.bme.hu>
To: "Thomas Köhler" <jean-luc@picard.franken.de>
Cc: zsh-users@sunsite.auc.dk
Subject: Re: ssh completion
Date: 28 Aug 2000 10:09:16 +0200 [thread overview]
Message-ID: <gmv7l91x0wj.fsf@kempelen.iit.bme.hu> (raw)
In-Reply-To: Thomas =?iso-8859-1?q?K=F6hler's?= message of "Sat, 26 Aug 2000 23:37:06 +0200"
Thomas Köhler <jean-luc@picard.franken.de> writes:
> On Sat, Aug 26, 2000 at 09:59:16PM +0200,
> Claus Alboege <tractrix@kom.auc.dk> wrote:
> >
> > Could anyone tell, how I get zsh to read hostnames from
> > ~/.ssh/known_hosts instead of /etc/hosts using zstyle?
>
> zstyle '*ssh*' hosts $(sed -e 's/ .*//' ~/.ssh/known_hosts)
>
> Not perfect, but you should get the idea...
Here is a bit better one:
zstyle '*ssh*' hosts $(sed -e '/^#/d
s/ .*$//
s/,/ /g' /etc/ssh_known_hosts ~/.ssh/known_hosts)
HTH,
--
Ervin
"Intelligenti pauca."
next prev parent reply other threads:[~2000-08-28 8:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-26 19:58 Claus Alboege
2000-08-26 21:37 ` Thomas Köhler
2000-08-28 8:09 ` Nemeth Ervin [this message]
2000-08-28 14:25 ` Bart Schaefer
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=gmv7l91x0wj.fsf@kempelen.iit.bme.hu \
--to=airwin@inf.bme.hu \
--cc=jean-luc@picard.franken.de \
--cc=zsh-users@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).