zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Brian Harvell <harvell@aol.net>, zsh-users@math.gatech.edu
Subject: Re: problem with prompt
Date: Mon, 14 Dec 1998 19:50:28 -0800	[thread overview]
Message-ID: <981214195028.ZM32483@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.SGI.4.04.9812142059070.2328-100000@boondoggle.office.aol.com>

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


  reply	other threads:[~1998-12-15  3:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-14 21:33 clear terminal after display of less, <, and apropos Roland Jesse
1998-10-15  1:25 ` Bart Schaefer
1998-10-15  2:22   ` Geoff Wing
1998-10-15  9:11   ` Mircea Damian
1998-10-15 13:22     ` Paul Lew
1998-10-15 14:46       ` Zoltan Hidvegi
1998-10-15 18:09       ` Bart Schaefer
1998-10-15 19:29         ` Bart Schaefer
1998-12-15  2:08         ` problem with prompt Brian Harvell
1998-12-15  3:50           ` Bart Schaefer [this message]
1998-10-15 14:58     ` clear terminal after display of less, <, and apropos Greg Badros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=981214195028.ZM32483@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=harvell@aol.net \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).