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

Re: Documentation of the TIMEFMT variable



trillian wrote on Thu, Feb 02, 2023 at 18:53:15 +0200:
> While I'm at it, TMPSUFFIX (which is just a few lines below it) seems to
> have somewhat broken formatting, as half of its description is highlighted
> like it was a variable name (in the man page at least - this doesn't seem to
> show up in the HTML documentation).

Apparently caused by nesting var() within tt().

--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1668,7 +1668,7 @@ well as any directory names.  The default is `tt(/tmp/zsh)'.
 vindex(TMPSUFFIX)
 item(tt(TMPSUFFIX))(
 A filename suffix which the shell will use for temporary files created
-by process substitutions (e.g., `tt(=LPAR()var(list)RPAR())').
+by process substitutions (e.g., `tt(=LPAR())var(list)tt(RPAR())').
 Note that the value should include a leading dot `tt(.)' if intended
 to be interpreted as a file extension.  The default is not to append
 any suffix, thus this parameter should be assigned only when needed




Messages sorted by: Reverse Date, Date, Thread, Author