It looks like we no longer call handle_sub in this case, and that's what was setting curjob. On Wed, Oct 23, 2019 at 3:56 PM Mikel Ward wrote: > [Moving thread to zsh-workers] > > Correction: not an alias, a function. > > Possibly caused by 464065f42959abc655b8e680572c08793dd0c56e (43543). > > On Wed, Oct 23, 2019 at 3:20 PM Mikel Ward wrote: > >> With latest git master (9b69e8472): >> >> $ zsh --norcs --noglobalrcs >> hostname% vim() { nvim "$@"; } >> hostname% vim >> ^Z >> hostname% cat >> ^Z >> hostname% %- >> (resumes nvim, as expected) >> ^Z >> hostname% %- >> (resumes nvim, should have resumed cat) >> >