From: Matthew Martin <phy1729@gmail.com>
To: zsh-workers@zsh.org
Cc: leah@vuxu.org
Subject: PATCH: Update _brace_parameter # description
Date: Wed, 30 Mar 2022 22:50:58 -0500 [thread overview]
Message-ID: <YkUlIqYmHRdxTQoP@CptOrmolo.darkstar> (raw)
In users/26793 Leah pointed out the description for # in
_brace_parameter is somewhat lacking since it isn't clear the result of
the numeric expression is interpreted as a character code.
diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index d4b750c3d..e020e048a 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -140,7 +140,7 @@ if [[ $PREFIX = *'${('[^\)]# ]]; then
flags+=("m:count number of character code points in padding calculation")
fi
flags+=(
- "#:evaluate as numeric expression"
+ "#:interpret numeric expression as character code"
"@:prevent double-quoted joining of arrays"
"*:enable extended globs for pattern"
"A:assign as an array parameter"
reply other threads:[~2022-03-31 3:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=YkUlIqYmHRdxTQoP@CptOrmolo.darkstar \
--to=phy1729@gmail.com \
--cc=leah@vuxu.org \
--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).