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

Bugs in _arguments ?



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