Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.1.4 and su
- X-seq: zsh-users 1812
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx (Zsh users list)
- Subject: Re: 3.1.4 and su
- Date: Wed, 16 Sep 1998 10:46:37 +0200
- In-reply-to: "jalexand@xxxxxxxxxx"'s message of "Wed, 16 Sep 1998 01:59:34 MST." <199809160559.BAA15876@xxxxxxxxxxxxxxxx>
jalexand@xxxxxxxxxx wrote:
> ps-While I'm at it, why does the time in the prompt have a space in it
> now? (eg 3.1.4 => [ 1:47AM] while 3.0.5 => [1:47AM])
The time formats in the prompts are now strftime(3) compatible, so the
strftime sequence %l gives you the space to keep the string length
constant. %L was added to give you the old behaviour. See PROMPT
EXPANSION in the zshmisc manual page. Try changing the appropriate
part of your prompt to %D{%L:%M%p} for 3.1.4.
--
Peter Stephenson <pws@xxxxxx> Tel: +39 50 844536
WWW: http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author