Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: minor niggle with svn completion of sub-commands
- X-seq: zsh-workers 27410
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: minor niggle with svn completion of sub-commands
- Date: Sun, 15 Nov 2009 02:47:47 -0500
- In-reply-to: <m3eio0x479.fsf@xxxxxxxxxxxxxx> (Greg Klanderman's message of "Sat, 14 Nov 2009 15:05:14 -0500")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <19192.17676.966894.118536@xxxxxxxxxxxxxxxxxx> <m3fx8nmkwc.fsf@xxxxxxxxxxxxxx> <m3ws1v634w.fsf@xxxxxxxxxxxxxx> <20091112192553.2d76ce1d@pws-pc> <m3eio0x479.fsf@xxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
Here's a simple test showing that the '*::...' type argument
descriptions are not handled correctly by _arguments:
compdef _foo foo
_foo () { _arguments '1: :_foo_arg1' '*: :_foo_rest' }
% foo a<tab> b => correctly prints "command not found: _foo_arg1"
_foo () { _arguments '1: :_foo_arg1' '*:: :_foo_rest' }
% foo a<tab> b => incorrectly prints "command not found: _foo_rest"
cheers,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author