Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
%B%~%b bug in $PROMPT in 3.1.5 ?
- X-seq: zsh-workers 4872
- From: Timothy J Luoma <luomat@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: %B%~%b bug in $PROMPT in 3.1.5 ?
- Date: Thu, 31 Dec 1998 12:09:02 -0500
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author