Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: help with command completion
- X-seq: zsh-users 2789
- From: Alexandre Duret-Lutz <alexandre.duret@xxxxxxxxxxxxxx>
- To: ZSH Mail List <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: help with command completion
- Date: 21 Dec 1999 09:48:43 +0000
- Cc: Shao Zhang <shao@xxxxxxxxxx>
- In-reply-to: Shao Zhang's message of "Tue, 21 Dec 1999 15:59:43 +1100"
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19991221155943.A26837@localhost>
>>> "SZ" == Shao Zhang <shao@xxxxxxxxxx> writes:
[...]
SZ> HOSTS=(juggler.cse.unsw.edu.au haydn.cse.unsw.edu.au godzilla)
SZ> compstyle '*' telnet $HOSTS
Please try :
compstyle '*:telnet:*:hosts' hosts $HOST
for the more general case you may want
compstyle '*:hosts' hosts $HOST
so that it work for ftp, rlogin, etc. too.
Note that `compstyle' will be obsoleted by `zstyle',
so prefer the later if you have it.
[...]
--
Alexandre Duret-Lutz
Messages sorted by:
Reverse Date,
Date,
Thread,
Author