From: Matthew Lovell <lovell@fc.hp.com>
To: Shawn Leas <sleas@ixion.honeywell.com>
Cc: Zsh Users List <zsh-users@math.gatech.edu>
Subject: Re: PWD in prompt
Date: Fri, 5 Feb 1999 17:14:12 -0700 (MST) [thread overview]
Message-ID: <14011.35156.829228.736831@hatchet.fc.hp.com> (raw)
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
next reply other threads:[~1999-02-06 0:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-06 0:14 Matthew Lovell [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-02-05 23:36 Shawn Leas
1999-02-05 18:06 Matthew Lovell
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=14011.35156.829228.736831@hatchet.fc.hp.com \
--to=lovell@fc.hp.com \
--cc=sleas@ixion.honeywell.com \
--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).