Hi,
I am trying to learn programming command completion using
zstyle. After a long read of /usr/share/zsh/functions, I still
have to idea, not even how to start.
I have the following two cases to do, can someone please give me
a hand and tell me how to start??
lpr -P[TAB] complets to a list a printer name, read from
/etc/printcap.
rm -rf completes fine, but sudo rm -rf does not work.
Thanks for the help.
Shao.
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@xxxxxxxxxx |___/
_____________________________________________________________________________