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

Re: PATCH: add -t <fmt> option to history



At 17:15 +0000 09.2.26, Peter Stephenson wrote:
>Index: Doc/Zsh/prompt.yo
>===================================================================
...
>+characters are provided to tt(strftime()) with any leading `tt(-)',

It seems this causes the following error during making zshmisc.1

prompt.yo:191: No macro: strftime(...)

The following will fix this, but I'm not familiar with yodl
and not sure whether this is the best fix.

Index: Doc/Zsh/prompt.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/prompt.yo,v
retrieving revision 1.17
diff -u -r1.17 prompt.yo
--- Doc/Zsh/prompt.yo	2 Mar 2009 10:12:15 -0000	1.17
+++ Doc/Zsh/prompt.yo	3 Mar 2009 09:38:49 -0000
@@ -185,7 +185,7 @@
 format character causes a leading zero or space to be stripped
 is handled directly by the shell for the format characters tt(d), tt(f),
 tt(H), tt(k), tt(l), tt(m), tt(M), tt(S) and tt(y); any other format
-characters are provided to tt(strftime()) with any leading `tt(-)',
+characters are provided to tt(strftime+LPAR()RPAR()) with any leading `tt(-)',
 present, so the handling is system dependent.  Further GNU
 extensions are not supported at present.
 )



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