Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with prompt
- X-seq: zsh-users 1988
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Brian Harvell <harvell@xxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: problem with prompt
- Date: Mon, 14 Dec 1998 19:50:28 -0800
- In-reply-to: <Pine.SGI.4.04.9812142059070.2328-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <Pine.SGI.4.04.9812142059070.2328-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author