From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14959 invoked from network); 1 May 2004 17:52:43 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by ns1.primenet.com.au with SMTP; 1 May 2004 17:52:43 -0000 Received: (qmail 29845 invoked from network); 1 May 2004 17:52:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 May 2004 17:52:20 -0000 Received: (qmail 14131 invoked by alias); 1 May 2004 17:52:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7427 Received: (qmail 14116 invoked from network); 1 May 2004 17:52:13 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 1 May 2004 17:52:10 -0000 Received: (qmail 29260 invoked from network); 1 May 2004 17:52:10 -0000 Received: from wbar3.sjo1-4-11-009-147.sjo1.dsl-verizon.net (HELO candle.brasslantern.com) (4.11.9.147) by a.mx.sunsite.dk with SMTP; 1 May 2004 17:52:08 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i41Hq6F02482 for zsh-users@sunsite.dk; Sat, 1 May 2004 10:52:06 -0700 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040501175206.ZM2481@candle.brasslantern.com> Date: Sat, 1 May 2004 17:52:06 +0000 In-Reply-To: Comments: In reply to "Timothy J. Luoma" "zsh prompt not updating until first 'chdir'" (May 1, 11:53am) References: X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: zsh prompt not updating until first 'chdir' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: ** X-Spam-Status: No, hits=2.8 required=6.0 tests=BAYES_00,RCVD_IN_DYNABLOCK, RCVD_IN_NJABL,RCVD_IN_NJABL_DIALUP,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 2.8 On May 1, 11:53am, Timothy J. Luoma wrote: } } chpwd () { setprompt } } } Can someone remind me what I have to do to get this to update as soon as I } login? I always just but a call to chpwd directly after the definition of chpwd in my startup files. There's no magical reason you can't call chpwd yourself.