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

help with command completion



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