Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
help with command completion
- X-seq: zsh-users 2828
- From: Shao Zhang <shao@xxxxxxxxxxxxx>
- To: ZSH Mail List <zsh-users@xxxxxxxxxxxxxx>
- Subject: help with command completion
- Date: Wed, 5 Jan 2000 16:09:32 +1100
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Sender: Shao Zhang <shao@xxxxxxxxxx>
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 |___/
_____________________________________________________________________________
Messages sorted by:
Reverse Date,
Date,
Thread,
Author