Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH v2] promptinit: Fix prompt cleanups
- X-seq: zsh-workers 48095
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Arseny Maslennikov <ar@xxxxxxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH v2] promptinit: Fix prompt cleanups
- Date: Mon, 22 Feb 2021 15:50:43 -0800
- Archived-at: <https://zsh.org/workers/48095>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/CAH%2Bw%3D7bS74KRmDH44zaXzHw3a7YqX7OXqnQSQ7BncSn6mEmnaA%40mail.gmail.com>
- In-reply-to: <20210222222800.243147-1-ar@cs.msu.ru>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7Zq_bfhb-eR8oSZ+EpGnu+y6sQsNs3nVsw3dY3WpLQHww@mail.gmail.com> <20210222222800.243147-1-ar@cs.msu.ru>
On Mon, Feb 22, 2021 at 2:28 PM Arseny Maslennikov <ar@xxxxxxxxx> wrote:
>
> prompt_cleanup () {
[...]
> + (( $+prompt_preview_restore == 0 )) &&
> + if ! zstyle -g theme_active :prompt-theme restore
> + then
A little idiosyncratic :-) but OK.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author