From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14011.35156.829228.736831@hatchet.fc.hp.com> Date: Fri, 5 Feb 1999 17:14:12 -0700 (MST) From: Matthew Lovell To: Shawn Leas Cc: Zsh Users List Subject: Re: PWD in prompt X-Mailing-List: 2109 On 5 February 1999, Shawn Leas writes: > On Fri, 5 Feb 1999, Matthew Lovell wrote: > > > > > I'm having an odd problem with zsh-3.1.5. My prompt definition is > > basically as follows: > > > > # set the prompt > > PROMPT=$(print "\%n\@\%m:\%~\\n%1v%% "); > > Why the print statement?? Here's my whole setup, uncluding > xterm title setting... The prompt I gave is not my actual prompt. I typically include other variables (color escape codes, set earlier in the script depending on the value of TERM) which need to get interpolated before the assignment to PROMPT. As an interim solution, I've just unset autonamedirs. -- Matthew Lovell voice: (970) 898-6264 Hewlett-Packard WSL fax: (970) 898-2510 3404 E. Harmony Rd. MS A0 location: 3UQ4 Fort Collins, CO 80528-9599 mailto:lovell@fc.hp.com