zsh-workers
 help / color / mirror / code / Atom feed
* Re: previous job breaks if it's a function?
       [not found] <CACVmprdGKXboOC2mxyRFKVoYpYdk8QJWS9v9Ky4LFbra-nP5Jg@mail.gmail.com>
@ 2019-10-23 22:56 ` Mikel Ward
  2019-10-26 19:41   ` Mikel Ward
  0 siblings, 1 reply; 2+ messages in thread
From: Mikel Ward @ 2019-10-23 22:56 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

[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@mikelward.com> 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)
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: previous job breaks if it's a function?
  2019-10-23 22:56 ` previous job breaks if it's a function? Mikel Ward
@ 2019-10-26 19:41   ` Mikel Ward
  0 siblings, 0 replies; 2+ messages in thread
From: Mikel Ward @ 2019-10-26 19:41 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

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@mikelward.com> 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@mikelward.com> 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)
>>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-26 19:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CACVmprdGKXboOC2mxyRFKVoYpYdk8QJWS9v9Ky4LFbra-nP5Jg@mail.gmail.com>
2019-10-23 22:56 ` previous job breaks if it's a function? Mikel Ward
2019-10-26 19:41   ` Mikel Ward

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).