* setup-2.5.7-1 /etc/bashrc uses the following expression to obtain a working directory string relative to ~: ${PWD/$HOME/~} This replaces all occurences of $HOME with "~", even in the middle of the path, which can lead to odd looking paths. $ cd /tmp/home/mike/foo $ echo ${PWD/$HOME/~} /tmp~/foo If you change the expression to: ${PWD/#$HOME/~} Then the substitution will only be performed at the beginning of the string. $ cd /tmp/home/mike/foo $ echo ${PWD/#$HOME/~} /tmp/home/mike/foo $ cd /home/mike/Mail $ echo ${PWD/#$HOME/~} ~/Mail if you have applied the patch from bug#60596, then this expression will occur twice in /etc/bashrc
fixed in 2.5.19 and later Mike.
confirmed CLOSING->RAWHIDE