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

Re: %! prompt code shows incorrect number



On Sun, May 16, 2021 at 9:49 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> Perhaps we could import events as numbers that are unused instead of
> overriding the number we have told the user is going to be used for
> the command they run?

Then the events would be out of order, which sort of ruins the
"incremental" part.

I don't think there's any simple fix here.  Possibly reprint the
prompt at (approximately) preexec time to show the correct number?




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