From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27596 invoked from network); 29 Sep 2007 15:29:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Sep 2007 15:29:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 87230 invoked from network); 29 Sep 2007 15:28:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Sep 2007 15:28:56 -0000 Received: (qmail 522 invoked by alias); 29 Sep 2007 15:28:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23853 Received: (qmail 505 invoked from network); 29 Sep 2007 15:28:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Sep 2007 15:28:53 -0000 Received: (qmail 87001 invoked from network); 29 Sep 2007 15:28:53 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 29 Sep 2007 15:28:48 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 78AC95C2CC; Sat, 29 Sep 2007 11:28:45 -0400 (EDT) Date: Sat, 29 Sep 2007 11:28:45 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Cc: Bas Zoetekouw , 444583-forwarded@bugs.debian.org Subject: Re: Bug#444583: zsh: precmd not executed before a new prompt is displayed when a job exists Message-ID: <20070929152845.GA23884@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk, Bas Zoetekouw , 444583-forwarded@bugs.debian.org References: <20070929151035.19446.15860.reportbug@cordelia.baz.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070929151035.19446.15860.reportbug@cordelia.baz.lan> User-Agent: Mutt/1.5.16 (2007-06-11) On Sat, Sep 29, 2007 at 05:10:35PM +0200, Bas Zoetekouw wrote: > Zsh's man page says: "precmd Executed before each prompt." > However, it doesn't seem to be executed in the following situation: > > - start xeyes in the background (xeyes &) > - kill the xeyes window > - the zsh then displays something like "[1] + done xeyes" and a new > prompt. Before this prompt, the precmd command doesn't seem to be > executed. > > This situation is a bit annoying for be, because I use precmd to put > the number of background jobs in the xterm title. However, when I > kill one of these backgorund applications, the xterm title isn't > updated currently. Could someone clarify the documentation here?