Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ssh completion
- X-seq: zsh-users 3399
- From: Thomas Köhler <jean-luc@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: ssh completion
- Date: Sat, 26 Aug 2000 23:37:06 +0200
- In-reply-to: <2gizolzu74u.fsf@xxxxxxxxxxxxxxxx>; from tractrix@xxxxxxxxxx on Sat, Aug 26, 2000 at 09:59:16PM +0200
- Mail-followup-to: Thomas Köhler <jean-luc@xxxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <2gizolzu74u.fsf@xxxxxxxxxxxxxxxx>
On Sat, Aug 26, 2000 at 09:59:16PM +0200,
Claus Alboege <tractrix@xxxxxxxxxx> wrote:
>
> Hi
>
> 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...
CU,
Thomas
--
Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx | LCARS - Linux
<>< WWW: http://jeanluc-picard.de | for Computers
IRC: jeanluc | on All Real
PGP public key available from Homepage! | Starships
Attachment:
pgpKjf7AsgTcX.pgp
Description: PGP signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author