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

Re: [PATCH 2/2] promptinit: Fix prompt cleanups



On Mon, Jan 25, 2021 at 09:23:32AM +0100, Roman Perepelitsa wrote:
> On Mon, Jan 25, 2021 at 9:17 AM Arseny Maslennikov <ar@xxxxxxxxx> wrote:
> >
> > This problem was previously brought up in zsh-users/23314, to no avail.
> 
> Also related: zsh-workers/46202.

Thank you for bringing this up!

However, during working on the patch I found out this is not the only
problem with prompt theme cleanups. prompt_$theme_setup works both as an
autoloaded function to pull the theme components in and as the setup
function, so `prompt -h $theme' and `prompt -p $theme' both _activate_ the
$theme and fail to run the cleanup actions.

Attachment: signature.asc
Description: PGP signature



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