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