zsh-workers
 help / color / mirror / code / Atom feed
From: Greg Klanderman <gak@klanderman.net>
To: zsh-workers@zsh.org
Subject: Re: minor niggle with svn completion of sub-commands
Date: Sun, 15 Nov 2009 02:47:47 -0500	[thread overview]
Message-ID: <m3639cw7oc.fsf@klanderman.net> (raw)
In-Reply-To: <m3eio0x479.fsf@klanderman.net> (Greg Klanderman's message of "Sat, 14 Nov 2009 15:05:14 -0500")


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


  reply	other threads:[~2009-11-15  7:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 16:36 Greg Klanderman
2009-11-09 21:46 ` Greg Klanderman
2009-11-12 17:53   ` Greg Klanderman
2009-11-12 19:25     ` Peter Stephenson
2009-11-14 20:05       ` Greg Klanderman
2009-11-15  7:47         ` Greg Klanderman [this message]
2009-11-16  0:17           ` Bart Schaefer
2009-11-16 19:45             ` Greg Klanderman
2009-11-17  4:01               ` Bart Schaefer
2009-11-17 15:55                 ` comparguments (was Re: minor niggle with svn completion of sub-commands) Bart Schaefer
2009-12-06 22:11                   ` Greg Klanderman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3639cw7oc.fsf@klanderman.net \
    --to=gak@klanderman.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).