Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: compctl - using hostnames with rlogin, rsh, and ssh



> 	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