From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9415 invoked from network); 26 Jun 2022 01:39:08 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2022 01:39:08 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1656207548; b=gvnnDSTZQ9qvIParL6IM5Jk9JKDIyPzVvJR3fm8QCio3XFIZ6zolum9q5C1k+NvF8OVW/3bJv6 VRb07S0YXjlB7pmNQU53D1OofmnB5zbI3SoZZb7gJ8Sdto6ZZI7P5A5AtnaOg5DS6ns6aoaSsL 7JgomA47LWk6S+4F0oV5ib5eMUm7ObXbXfdw/slXI4ksxgqNSJigaj+5pgdGRtR7IM9n/NKakC crUjzG13yEaKVi//gG9fme697h+P8B8DGJia+gNsP1naCsmnj9DSZP+La/x7kGvdeQUEjDTzo6 E9x1fupxmLfAGcDgbxjo0sdbNJnrZVY9UUnUe43tKOMVgg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-qv1-f53.google.com) smtp.remote-ip=209.85.219.53; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.a=rsa-sha256; dmarc=pass header.from=umich.edu; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1656207548; bh=Fi6ccsBd7RJnYkdcTZ6hrg5XjV1N5jo2Y2qCqfR0WYM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:DKIM-Signature:DKIM-Signature; b=DV/cKf4Xi04lgNBdhycfGNhd0HtwaEn/cnRfG9lOZ39YA9wounQzvv62i6x6qpZGPkQA7Zsd7V brtmQdZ3XUvEOEBGSrynvjM0uXbXRnaE6BFgX0OVRLnB3Ze5sNJ00ql0AOtyYnlrtW8hri0Mus fzP7JPDVNGCXnLHJN6HtELaIsx4qXiJFaQKzzQ8pjZnnWcO8qb6HIZIrxqwbo6n2CBdoJBqDlC wmVyuEYiYV9ZxFuLKITVDtd4feyUu1mCr7GSans6rzutVmvIsBBoof9adEFFmtYM+2sZAOSwpc yTfgBQKyCIqZhBkwaxc3oOLJbpjLoAZ9Co+dTIGeQXnHPg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:From:To:MIME-Version:Date:Message-ID:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=JYYpEeoucu/RFw1ZWEZozNtA3NBumusSgiEqyKJzb6I=; b=Pg8V8mHFdkht/OC4WWlxL6kpTj WXDLlSh/ng6x2auk4abBzbDxJ3cTU+/KIzQkHPLkBpdAAT7HyVHu+lA7hPmZ5kKSJNn5+p4bL8p8/ jf030nnI3N12NyAPgoALNpSZ+PBmaAlXVrc9j5akdOCl+4xuLWixSXObCpy/SvmQVWg7tGEub6NS2 10wLV0NTe0N20lkPYxv84OG2Vm8Yar6UbFpx3TWSSeV22UT8lCppWv9Xe1Nqxjemy5ukmZ3+tidg4 9EL+LZ3oxSmxtCJ2Rzsg74+g/NEJLallI2G9eLSv4mUQYzqEnAmUUUgLizb3h6Km+wCyVeuGv5KY2 nPD6+4Sg==; Received: from authenticated user by zero.zsh.org with local id 1o5HEy-000Hkg-3X; Sun, 26 Jun 2022 01:39:08 +0000 Authentication-Results: zsh.org; iprev=pass (mail-qv1-f53.google.com) smtp.remote-ip=209.85.219.53; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.a=rsa-sha256; dmarc=pass header.from=umich.edu; arc=none Received: from mail-qv1-f53.google.com ([209.85.219.53]:35682) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1o5HEi-000HP1-8u; Sun, 26 Jun 2022 01:38:53 +0000 Received: by mail-qv1-f53.google.com with SMTP id u14so7501310qvv.2 for ; Sat, 25 Jun 2022 18:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=message-id:date:mime-version:user-agent:content-language:to:from :subject:content-transfer-encoding; bh=JYYpEeoucu/RFw1ZWEZozNtA3NBumusSgiEqyKJzb6I=; b=f/HI++HsZLWnvloshReyWTJFMe+d3C525gIOk1lfwBVE01qBB7lxGk7xoKHXSy7wLD 52l+LoaNt4O9HaO29HFroe0CLAEb3THgC3RI8FI/M3jwT4O3qT960JnQdjHqJRxu5mnf ybAfcIXyB0h37dJamqOv/RHC/Hg91VefN+OI2NmI09w7aYLs2b2z8AV1aosdiYr5WZoB 5NI2i60CAhA+9Btak6Rqlw/TlzwLY5p1esnuVAv91FKA+jbY36JaaPxXNTAN1x/nKH89 oR4UbmXxNAk7y8VGKOzj4xEvaBYrwWAAumXyRzPQcCeV2nmSSTJ3dTva3aWOuNaPgBZ4 xg3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:from:subject:content-transfer-encoding; bh=JYYpEeoucu/RFw1ZWEZozNtA3NBumusSgiEqyKJzb6I=; b=FEoX2ExnJhqc3CdYJ4pAD9+AaI5WX18TyKZXV0WlHNCadguiQA59EdQM14Upnw635/ FcLKUzaMrFFrm4SduQ5b0a8vO5v4Oaj+NBenfBrgaFMEyUpqv6B+w8VP/a3XyAR6+2aD 8qryuigpKEY3xzLFDaYazMnOcDbKCj14KH8FEJs34bgTVs698BUgN39m4kg2Nr1aAJBr oJ26bZ056XpmVD8tKMtCTFrfdyjE7S4h4ShpS3eT4vqwAc7UuMOi5B4rZQ8/ljoQPYsa D3yk6xvnbsdiBzbVp3uLTu51FXVV3yO6NN2MSnfqBrLaHzdoknp5ridcbqNhojCTeSWX Ytig== X-Gm-Message-State: AJIora8RQDYKDyWY0CVM9139EyoGzwOgdG1rbAJNTcx6u1ga3b72WQ7D WxNPqJZBgc+yh4ABeQ1AhSwSTvH7c+Qq9ZiejQQd/b041P1LNIFyXOJuZ4a0pXW0T6lkxywclQm 3X59UMetcBgwzuP0SjIqb9ib87iqG4FfKwLAj/2g8DaToyqLbdqzJL8RMdg== X-Google-Smtp-Source: AGRyM1u9ykVb8j1eRf9PvRFhb3KzMOZlof9OPpbp8K9ybOWXFlejsGCA5Tp7nk1lcB2F9FG+r4h2kw== X-Received: by 2002:ac8:5b0d:0:b0:305:2994:6f0d with SMTP id m13-20020ac85b0d000000b0030529946f0dmr4932348qtw.668.1656207530239; Sat, 25 Jun 2022 18:38:50 -0700 (PDT) Received: from ?IPV6:2600:1700:37a9:411f::f02? ([2600:1700:37a9:411f::f02]) by smtp.gmail.com with ESMTPSA id h15-20020a05620a244f00b006a684c87f4bsm5851970qkn.68.2022.06.25.18.38.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jun 2022 18:38:49 -0700 (PDT) Message-ID: <71199407-dd05-418f-c2aa-887183246e5d@umich.edu> Date: Sat, 25 Jun 2022 21:38:18 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-US To: zsh-workers@zsh.org From: Grid Subject: Bug report: `jobs` in `PROMPT` not showing latest suspend job Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Seq: 50384 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: 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 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