zsh-users
 help / color / mirror / code / Atom feed
From: Matthew Lovell <lovell@fc.hp.com>
To: Zsh Users List <zsh-users@math.gatech.edu>
Subject: PWD in prompt
Date: Fri, 5 Feb 1999 11:06:40 -0700 (MST)	[thread overview]
Message-ID: <14011.13104.90226.124865@hatchet.fc.hp.com> (raw)


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%% ");

Under 3.1.5, the %~ is constantly getting expressed as ~PWD.  It's not 
very useful to know that I'm always in ~PWD.  Is there anyway to
prevent this from happening, while still getting ~ "compression" when
appropriate? 

Thanks,
  Matt

-- 

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



             reply	other threads:[~1999-02-05 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-05 18:06 Matthew Lovell [this message]
1999-02-05 23:36 Shawn Leas
1999-02-06  0:14 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.13104.90226.124865@hatchet.fc.hp.com \
    --to=lovell@fc.hp.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).