diff --git a/.profile b/.profile index 7a04aeab..4e2ac37e 100755 --- a/.profile +++ b/.profile @@ -94,13 +94,7 @@ _ps1() { hostname_prefix="${fg_bold}${fg_red}`hostname`${r}${fg_red}:" fi # Show the tilde instead of $HOME - cpwd="" - # Thanks ZSH - if ! [ "$ZSH_NAME" ]; then - cpwd="${PWD/#$HOME/\~}" - else - cpwd="${PWD/#$HOME/~}" - fi + cpwd="${PWD/#$HOME/\~}" # Alert us if the last command failed fail="" if ! [ "$exitcode" = "0" ]; then