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

Re: previous job breaks if it's a function?



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 <mikel@xxxxxxxxxxxxx> 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 <mikel@xxxxxxxxxxxxx> 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)
>>
>


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