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

Re: bash convert: new completion system skeleton?



clemens fischer wrote:
> example:  there's an anti-spam system called qconfirm
> <URL:http://smarden.org/qconfirm/>, the bash completer for which is:

For most ordinary UNIX commands the point to start is from one of the
files in the Completion/Unix/Command directory of the source
distribution.  If it's simple enough you can use _arguments.
Unfortunately the _arguments syntax is somewhat non-intuitive.

I need to add something more explicitly constructive to the user guide
for cases like this.  I really only started major hacking with
_arguments quite recently.

> similiar code exists for gnu-make, autoconf's configure, openssl etc.

A lot of these are already done in the latest code.

> i'm simply lost in all the files of the distribution, especially
> those _<helper> functions.  any pointers appreciated.  is there
> already a wiki for zsh specialists and users?

http://www.zshwiki.org/
http://zsh.sunsite.dk/Guide/

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author