From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17675 invoked from network); 21 Dec 1999 08:50:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Dec 1999 08:50:20 -0000 Received: (qmail 10542 invoked by alias); 21 Dec 1999 08:49:56 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2789 Received: (qmail 10534 invoked from network); 21 Dec 1999 08:49:51 -0000 To: ZSH Mail List Cc: Shao Zhang Subject: Re: help with command completion References: <19991221155943.A26837@localhost> X-Attribution: plx From: Alexandre Duret-Lutz Date: 21 Dec 1999 09:48:43 +0000 In-Reply-To: Shao Zhang's message of "Tue, 21 Dec 1999 15:59:43 +1100" Message-ID: <7dpuw0r5dw.fsf@greyc.ismra.fr> User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> "SZ" == Shao Zhang 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