diff --git a/.profile b/.profile index f0721a68..a95bdcd2 100755 --- a/.profile +++ b/.profile @@ -348,11 +348,7 @@ _ps1bash() { ;; esac # Show the tilde instead of $HOME - if [ "${PWD#$HOME}" != "$PWD" ]; then - cpwd="~${PWD#$HOME}" - else - cpwd="$PWD" - fi + cpwd='\w' # Show read-only status in certain directories if [ "$UID" = 0 ]; then # Root gets the usual "#" prompt