Once upon a time, Callum Lerwick <seg@xxxxxxxxxx> said: > For many years, I have had a fancy bash prompt, that contains this: > ${PWD/#$HOME/~} This replaces your home dir with a tilde. However, with > bash 3.1, it stopped working: Why not just use the bash PS1 "\w" escape which does the same thing? Much easier and won't break (unless there's a bug). See the PROMPTING secion of the bash man page. -- Chris Adams <cmadams@xxxxxxxxxx> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list