I use the default value of PS1 shipped with Ubuntu:
which is ok 90% of the time. However, when I
cd to a symlink "directory" the name of the symlink, not the value of
pwd -P is used.
How can I change the \w to get the real current directory? And still display with the format presented by