Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Update _brace_parameter # description
- X-seq: zsh-workers 49932
- From: Matthew Martin <phy1729@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: leah@xxxxxxxx
- Subject: PATCH: Update _brace_parameter # description
- Date: Wed, 30 Mar 2022 22:50:58 -0500
- Archived-at: <https://zsh.org/workers/49932>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx, leah@xxxxxxxx
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"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author