zsh-workers
 help / color / 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, back to index

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

zsh-workers

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git