Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compctl - using hostnames with rlogin, rsh, and ssh
- X-seq: zsh-users 1703
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: compctl - using hostnames with rlogin, rsh, and ssh
- Date: Tue, 4 Aug 1998 21:11:10 +0200
- In-reply-to: <13767.22210.350181.384719@knecht>; from Roland Jesse on Tue, Aug 04, 1998 at 08:45:22PM +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxxx
- References: <19980730230755.B6503@xxxxxxxxxxxxxxxxx> <Pine.LNX.3.96.980803233328.19072E-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19980804173325.K9765@xxxxxxxxxxxxxxxxx> <13767.22210.350181.384719@knecht>
> if [[ -f ~/.zshhosts ]]; then
> # read in host list from ~/.zshhosts
> hosts=$(< ~/.zshhosts)
Quoting Roland Jesse (jesse@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx):
> Does it matter whether the hostnames in ~/.zshhosts are
> all stored in one big line or in one line per host name?
Well, my ~/.zshhosts has one hostname per line.
Dunno whether it'll work with all hosts on one line.
Oh, heck, I'll give it a try:
:%j
:w
:shell
$ ssh <TAB>
$ ssh erdos\ euler\ gauss\ leibniz\ pascal\
Nope, doesn't seem to work.
Sven ['u', ":w" ;-)]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author