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

Re: [PATCH] Fix %- (prevjob) picking wrong job after resuming



On Wed, Apr 1, 2026 at 11:31 PM Mikel Ward <mikel@xxxxxxxxxxxxx> wrote:
>
> Hmm. I didn't touch the message, so I'm not sure what's going on. It looks like that code path has always printed "no current job" and "no previous job"?

Yes, that code path has always printed that, but prior to your
previous patch that code path was not taken in the circumstances of
that test, and instead the code at Src/jobs.c lines 2118-2119 was
invoked.  Is that now dead code, or conversely are there other
side-effects to look out for?




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