.profile: Remove zsh workaround
This commit is contained in:
parent
167571f31a
commit
19a0061569
8
.profile
8
.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
|
||||
|
Loading…
Reference in New Issue
Block a user