From: Alexandre Duret-Lutz <alexandre.duret@greyc.ismra.fr>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: _prompt: two useless ':*:'
Date: 01 Dec 1999 12:15:48 +0000 [thread overview]
Message-ID: <7d7liy7t6z.fsf@antares.l2i> (raw)
In-Reply-To: Sven Wischnowsky's message of "Fri, 26 Nov 1999 09:46:13 +0100 (MET)"
~ % prompt -<TAB>
~ % prompt -_arguments: bad pattern: adam1):*: [253]
parse_cadef/parse_caarg won't split the action at colons once the
first `:*pattern:' is encountered in a description, or for description
of normal/rest arguments (starting with `n:', `*:' or `:').
Should this be said en zshcompsys.1 ? I guess this means we can
write `:foo:((a\:bar b\:baz))' without needing to escape colons in
such cases (I didn't try).
--- Completion/User/_prompt.old Wed Dec 1 09:43:21 1999
+++ Completion/User/_prompt Wed Dec 1 11:43:24 1999
@@ -2,6 +2,8 @@
_arguments -s \
'-l[list themes]:*:' \
+ '-c[show selected theme]:*:' \
"-h[help]::prompt theme:($prompt_themes):*:" \
- "-p[preview theme(s)]:*:prompt theme:($prompt_themes):*:" \
- {-s'[set and save theme]','*'}":prompt themes:($prompt_themes):*:"
+ "-p[preview theme(s)]:*:prompt theme:($prompt_themes)" \
+ "-s[set and save theme]:prompt theme:($prompt_themes):*:" \
+ ":prompt theme:($prompt_themes)"
--
Alexandre Duret-Lutz
next reply other threads:[~1999-12-01 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-01 12:15 Alexandre Duret-Lutz [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-12-01 12:07 Sven Wischnowsky
1999-12-01 12:02 Sven Wischnowsky
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=7d7liy7t6z.fsf@antares.l2i \
--to=alexandre.duret@greyc.ismra.fr \
--cc=zsh-workers@sunsite.auc.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).