zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@zsh.org
Subject: PATCH: _brace_parameter: Add (*) completion
Date: Mon, 14 Sep 2020 00:47:14 +0200	[thread overview]
Message-ID: <20200913224714.2248-1-mikachu@gmail.com> (raw)
In-Reply-To: <CAH+w=7bc94J+Fb2sFaVSLhQBUy-oZNj-hmAJRQDsG_N_YE+BkA@mail.gmail.com>

---

Feel free to fold this in too.

 Completion/Zsh/Context/_brace_parameter | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index 6960cec9b7..d4b750c3d6 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -142,6 +142,7 @@ if [[ $PREFIX = *'${('[^\)]# ]]; then
   flags+=(
     "#:evaluate as numeric expression"
     "@:prevent double-quoted joining of arrays"
+    "*:enable extended globs for pattern"
     "A:assign as an array parameter"
     "a:sort in array index order (with O to reverse)"
     "b:backslash quote pattern characters only"
-- 
2.15.1



  reply	other threads:[~2020-09-13 22:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06  3:05 PATCH: Enable extendedglob in pattern with ${(*)name/pattern/replacement} Bart Schaefer
2020-09-13 21:50 ` Bart Schaefer
2020-09-13 22:47   ` Mikael Magnusson [this message]
2020-09-13 23:25     ` PATCH: _brace_parameter: Add (*) completion Bart Schaefer

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=20200913224714.2248-1-mikachu@gmail.com \
    --to=mikachu@gmail.com \
    --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).