Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problems with _arguments
- X-seq: zsh-workers 8288
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Problems with _arguments
- Date: Fri, 15 Oct 1999 19:06:35 +0400
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
This little completion stopped to work. I suspect new computil module ...
Anything as simple as
sudo umo<TAB> (implying umount) or
sudo ls S<TAB> (where S* exists 'course)
#compdef sudo
_arguments \
'-V[show version]' \
'-l[list commands]' \
'-h[show help]' \
'-v[validate timestamp file]' \
'-k[remove timestamp file]' \
'-b[run command in background]' \
'-r:Kerberos realm:' \
'-p:prompt:' \
'-u:user name:_users' \
'-s[run SHELL]' \
'-H[set HOME environment variable]' \
'*::complete command and/or arguments:_normal'
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author