From: Grid <grid@umich.edu>
To: zsh-workers@zsh.org
Subject: Bug report: `jobs` in `PROMPT` not showing latest suspend job
Date: Sat, 25 Jun 2022 21:38:18 -0400 [thread overview]
Message-ID: <71199407-dd05-418f-c2aa-887183246e5d@umich.edu> (raw)
Hi,
I run into an issue after upgrading to zsh 5.9 from 5.8.1. Here is a
minimal zshrc to reproduce this bug:
set -o PROMPT_SUBST
PROMPT='
$(jobs)
%d > '
Launch any program, e.g. cat, and press <C-z> to suspend it. No job will
be printed in the prompt. Launch another program, e.g. vim, and suspend
it also. This time [1] - suspended cat is printed. Suspending a third
program would cause both cat and vim to show up in the prompt.
In zsh 5.8.1, all background jobs are correctly listed. This is the
expected behavior.
Best regards,
Grid
next reply other threads:[~2022-06-26 1:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-26 1:38 Grid [this message]
2022-06-26 3:58 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71199407-dd05-418f-c2aa-887183246e5d@umich.edu \
--to=grid@umich.edu \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).