From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28156 invoked from network); 15 Dec 1998 03:53:46 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 Dec 1998 03:53:46 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id WAA26647; Mon, 14 Dec 1998 22:51:49 -0500 (EST) Resent-Date: Mon, 14 Dec 1998 22:51:41 -0500 (EST) From: "Bart Schaefer" Message-Id: <981214195028.ZM32483@candle.brasslantern.com> Date: Mon, 14 Dec 1998 19:50:28 -0800 In-Reply-To: Comments: In reply to Brian Harvell "problem with prompt" (Dec 14, 9:08pm) References: X-Mailer: Z-Mail (4.0b.820 20aug96) To: Brian Harvell , zsh-users@math.gatech.edu Subject: Re: problem with prompt MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"UbPvo2.0.nV6.CpTTs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1988 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Dec 14, 9:08pm, Brian Harvell wrote: } Subject: problem with prompt } } When using %c (or %.) in your PROMPT you get the literal text "~PWD" This occurs when the AUTO_NAME_DIRS option is set, because PWD is no longer a "special" paramter in 3.1.5. A patch to special-case PWD to change this has been posted to zsh-workers and may appear in the next release. Meanwhile, you can either turn off the AUTO_NAME_DIRS option, or use precmd() { unhash -d PWD # ... other commands ... } -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com