From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16572 invoked from network); 21 Dec 1999 05:36:23 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Dec 1999 05:36:23 -0000 Received: (qmail 27629 invoked by alias); 21 Dec 1999 05:36:10 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2788 Received: (qmail 27622 invoked from network); 21 Dec 1999 05:36:09 -0000 Date: Tue, 21 Dec 1999 15:59:43 +1100 From: Shao Zhang To: ZSH Mail List Subject: help with command completion Message-ID: <19991221155943.A26837@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i Hi, I am trying to learn the new command completion system. I have these lines in my .zshrc: HOSTS=(juggler.cse.unsw.edu.au haydn.cse.unsw.edu.au godzilla) compstyle '*' telnet $HOSTS but when I type telnet [TAB], I got this: [15:58|pts/13]shao@shao % telnet host localhost shao.penguinpowered.com shao www.shao.penguinpowered.com which is using the function defined in /usr/share/zsh/functions/_telnet. Please help me. Thanks. Shao. -- ____________________________________________________________________________ Shao Zhang - Running Debian 2.1 ___ _ _____ Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: shao@cia.com.au |___/ _____________________________________________________________________________