Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
help with command completion
- X-seq: zsh-users 2788
- From: Shao Zhang <shao@xxxxxxxxxx>
- To: ZSH Mail List <zsh-users@xxxxxxxxxxxxxx>
- Subject: help with command completion
- Date: Tue, 21 Dec 1999 15:59:43 +1100
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxx |___/
_____________________________________________________________________________
Messages sorted by:
Reverse Date,
Date,
Thread,
Author