Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Update _brace_parameter # description



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