From: Oliver Kiddle <opk@u.genie.co.uk>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: use of _arguments for set
Date: Mon, 21 May 2001 17:11:16 +0100 [thread overview]
Message-ID: <3B093E24.40FB5B85@u.genie.co.uk> (raw)
In-Reply-To: <3B090939.6661A937@u.genie.co.uk>
Oliver Kiddle wrote:
> This showed up one bug in the recent _arguments changes:
>
> set -A<tab> will complete only arrays but
> set +A<tab> also offers other + options as if -W had been specified to
> _arguments.
I had a closer look and this seems to be the fix:
Index: Completion/Base/Core/_tags
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/Core/_tags,v
retrieving revision 1.1
diff -u -r1.1 _tags
--- Completion/Base/Core/_tags 2001/04/02 11:04:49 1.1
+++ Completion/Base/Core/_tags 2001/05/21 16:06:53
@@ -41,7 +41,7 @@
"$_sort_tags" "$@"
else
zstyle -a ":completion:${curcontext}:" tag-order order ||
- order=('(|*-)argument-* (|*-)option-* values' options)
+ order=('(|*-)argument-* (|*-)option[-+]* values' options)
for tag in $order; do
case $tag in
prev parent reply other threads:[~2001-05-21 16:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-21 12:25 Oliver Kiddle
2001-05-21 16:11 ` Oliver Kiddle [this message]
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=3B093E24.40FB5B85@u.genie.co.uk \
--to=opk@u.genie.co.uk \
--cc=zsh-workers@sunsite.dk \
/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).