From 19a0061569daa64a08b07852b0ecf819774910ad Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 28 Aug 2018 22:07:15 -0500 Subject: [PATCH] .profile: Remove zsh workaround --- .profile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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