Bug#1030606: bad job control on suspended shell function

2023-02-13 Thread Zefram
Control: retitle 1030606 bad job listing on suspended shell function I've identified a related bug, reported as Bug#1031245. That concerns zsh getting confused about which job is current, when a job is a suspended shell function. It's a distinct bug, but triggered by essentially the same

Bug#1030606: bad job control on suspended shell function

2023-02-05 Thread Zefram
Package: zsh Version: 5.8-6+deb11u1 Severity: normal Tags: patch zsh screws up the way it displays job status if a job consists of a shell function that got suspended after it was started: % t0 () { sleep 1000; } % t0 ^Zzsh: suspended [1] + suspended % echo foo foo [1] + suspended % : [1] +