.profile: Stop giving different shells special treatment

This commit is contained in:
Salt 2020-12-16 00:10:05 -06:00
parent 61cd16c5b4
commit 22b12c7de4

View File

@ -338,17 +338,8 @@ _ps1bash() {
elif [ "$USER" != "salt" ]; then
_prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}"
fi
# Change PWD color depending on the shell
case $0 in
*bash)
_prefix="${_prefix}${fg_blue}"
;;
*ksh)
_prefix="${_prefix}${fg_green}"
;;
*)
;;
esac
# Color PWD
_prefix="${_prefix}${fg_blue}"
# Show the tilde instead of $HOME
_cpwd='\w'
# Show read-only status in certain directories