zsh-workers
 help / color / mirror / code / Atom feed
From: Timothy J Luoma <luomat@peak.org>
To: zsh-workers@math.gatech.edu
Subject: %B%~%b bug in $PROMPT in 3.1.5 ?
Date: Thu, 31 Dec 1998 12:09:02 -0500	[thread overview]
Message-ID: <199812311709.MAA01264@ocalhost> (raw)


I have this as my PROMPT:

%SUSER: %B(%n)%b HOST: %B(%M)%b TTY: %B(tty%l)%b HIST#: %B(%h)%b
[OLDPWD: %B$OLDPWD%b] [PWD: %B%~%b]%s
$TALK

However, the PWD: part seems to have been broken when I (finally) upgraded to 3.1.5

Note the following, where $PWD = PWD (literally) in some cases

USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1758)
[OLDPWD: /Users/tjl] [PWD: ~]
 cd /

USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1759)
[OLDPWD: /Users/tjl] [PWD: /]
 cd /private/tmp

USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1760)
[OLDPWD: /] [PWD: ~PWD]
 cd ~

USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1761)
[OLDPWD: /private/tmp] [PWD: ~]
 cd Library

USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1762)
[OLDPWD: /Users/tjl] [PWD: ~PWD]


A 'cc' to me would be appreciated, as I'm not on the zsh-workers list (I am  
on the zsh-users list if a reply there would be appropriate)

Thanks

TjL



                 reply	other threads:[~1998-12-31 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199812311709.MAA01264@ocalhost \
    --to=luomat@peak.org \
    --cc=zsh-workers@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).