From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5256 invoked from network); 3 May 2004 02:32:22 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by ns1.primenet.com.au with SMTP; 3 May 2004 02:32:22 -0000 Received: (qmail 4506 invoked from network); 3 May 2004 02:31:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 May 2004 02:31:40 -0000 Received: (qmail 22573 invoked by alias); 3 May 2004 02:31:29 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7434 Received: (qmail 22549 invoked from network); 3 May 2004 02:31:29 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 3 May 2004 02:31:26 -0000 Received: (qmail 3646 invoked from network); 3 May 2004 02:31:25 -0000 Received: from b.mail.peak.org (69.59.192.42) by a.mx.sunsite.dk with SMTP; 3 May 2004 02:31:23 -0000 Received: from timothy-luomas-computer.local (0-1pool188-164.nas4.columbus1.oh.us.da.qwest.net [63.155.188.164]) (authenticated bits=0) by b.mail.peak.org (8.12.10/8.12.8) with ESMTP id i432Ufvn005791; Sun, 2 May 2004 19:30:44 -0700 (PDT) To: "Bart Schaefer" , zsh-users@sunsite.dk Subject: Re: zsh prompt not updating until first 'chdir' References: <1040501175206.ZM2481@candle.brasslantern.com> Message-ID: From: "Timothy J. Luoma" Organization: http://tntluoma.com Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 02 May 2004 22:30:42 -0300 In-Reply-To: <1040501175206.ZM2481@candle.brasslantern.com> User-Agent: Opera M2/7.50 (MacPPC, build 1752) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.6 required=6.0 tests=RCVD_IN_NJABL,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.6 On Sat, 1 May 2004 17:52:06 +0000, Bart Schaefer wrote: > 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. Well that worked. Should have thought of that myself. TjL