Hi, I put the following lines in my .zshrc hosts=(juggler.cse.unsw.edu.au shaoz.dhs.org haydn.cse.unsw.edu.au) ftphosts=(ftp.cse.unsw.edu.au ftp.shaoz.dhs.org ftp.au.kernel.org) compctl -k hosts telnet ssh compctl -k ftphosts lftp ftp
But after typed telnet and press TAB, zsh auto completes the hosts from /etc/hosts. Can anyone help me on this please? Thanks. Shao. -- ____________________________________________________________________________ Shao Zhang - Running Debian 2.1 ___ _ _____ Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _____________________________________________________________________________