zsh-workers
 help / color / mirror / code / Atom feed
* %B%~%b bug in $PROMPT in 3.1.5 ?
@ 1998-12-31 17:09 Timothy J Luoma
  0 siblings, 0 replies; only message in thread
From: Timothy J Luoma @ 1998-12-31 17:09 UTC (permalink / raw)
  To: zsh-workers


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-12-31 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-31 17:09 %B%~%b bug in $PROMPT in 3.1.5 ? Timothy J Luoma

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).