Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Time in prompt not shown, when %P used (promptinit)
- X-seq: zsh-users 20859
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Time in prompt not shown, when %P used (promptinit)
- Date: Thu, 29 Oct 2015 16:15:03 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=STkG0dsYjGgHN3zm5ih7O3Mz7GmQXF3vbmH6yE3GxO0=; b=IRLIkPE2meGT8lnu78nfh9/8fiFBCzGCFud8bcXxA1EoEDz/wddELy/FnICj4rRgan Y0OACP/TvG8x/XM6Kg5TwjeXl25DkJKQGMhzXYuXY/fiKrkphaFGYVeNRLLtQqHQpZvZ ESPV/+I6CqQhpD9+5iz9VHmGDEE+6eOWZLNeQCbmvYTDHSRiCJsM16l+zt1jjTj7qWhB BcatRSATPLgdOFJurX24eSKqOyJgbljtVS55W70u/EMXm9Sgls2JpGRVkCHm7+qBKkuK lnuvf3q4y8ua32j1bq75x6xmuic07SEYXsEWixzOQKaMRw1d6HhZ7gKDJ08OR5x/6Cwf eaeQ==
- In-reply-to: <CADn-QaMCg6PGv5hLy8+-1NrWVOP1FWigi2PvU0z2RDuX0okJMQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CADn-QaMCg6PGv5hLy8+-1NrWVOP1FWigi2PvU0z2RDuX0okJMQ@mail.gmail.com>
On Thu, Oct 29, 2015 at 1:09 AM, Alexander Skwar
<alexanders.mailinglists+nospam@xxxxxxxxx> wrote:
>
> I'm using zsh 5.1.1-1ubuntu1 on Ubuntu 15.10.
>
> Before Ubuntu 15.10, I had 14.04 and after the date ("Don Okt 29"), there
> used to be the time. The time is now missing
What version of zsh were you using on 14.04?
I suspect this is a problem introduced when time formatting was
changed to attempt to pass more of the format sequences directly
through to strftime(). We have had this sort of problem come up for
some other formats, depending on the strftime() implementation.
The %P string was always expected to be expanded by strftime and for a
long time (2004 - 2014) was simply ignored if it was empty (prior to
2004 it could cause a segfault). I'm guessing that now it's being
incorrectly interpreted as an error and therefore aborting the entire
%D{...} replacement.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author