Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ztrftime and prompt
- X-seq: zsh-workers 7371
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: ztrftime and prompt
- Date: Thu, 05 Aug 1999 11:56:01 +0200
- In-reply-to: ""Owen M. Astley""'s message of "Thu, 05 Aug 1999 11:04:55 DFT." <Pine.OSF.3.96.990805110239.3420A-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
"Owen M. Astley" wrote:
> Although the man page says that prompts with %D{...} are printed using
> strftime, they are parsed by ztrftime first.
>
> Is it worth while documenting ztrftime, or is this likely to change?
It should really be documented. In most cases the only differences from a
normal strftime() are the ones listed in the %D prompt expansion, and the
extra code is just to provide a fallback, but if an external strftime() is
not available there's no documentation at all, and if it's defective the
extra ones provided by zsh aren't documented. There could even be clashes
with a non-standard strftime.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author