Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bugs in _arguments ?
- X-seq: zsh-workers 11481
 
- From: Chmouel Boudjnah <chmouel@xxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Bugs in _arguments ?
 
- Date: 21 May 2000 15:27:59 +0200
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
Hi,
Maybe i missed something but _arguments don't do his job, thing like :
rpm -ba --[tab]
should complete something like :
_arguments -s \
      '*-v[verbose mode]' \
      '--rcfile:resource file:_files' \
      '--ftpproxy:FTP proxy server:_hosts' \
      '--ftpport:FTP port number:' \
      --{short-circuit,clean,rmsource,sign,test} \
      '--target:specify a build target:->target'\
      '--buildroot:build root directory:_files -/' \
      '--buildarch:architecture for which to build:' \
      '--buildos:ositecture for which to build:' \
      '--timecheck:time check (seconds):' "$tmp[1]" && ret=0
but zsh do nothing (like didn't see any --). Testing with last cvs
version and a minmal .zshrc to load compinit.
-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
In travel.                                        --Chmouel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author