.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 elif [ "$USER" != "salt" ]; then
_prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}" _prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}"
fi fi
# Change PWD color depending on the shell # Color PWD
case $0 in
*bash)
_prefix="${_prefix}${fg_blue}" _prefix="${_prefix}${fg_blue}"
;;
*ksh)
_prefix="${_prefix}${fg_green}"
;;
*)
;;
esac
# Show the tilde instead of $HOME # Show the tilde instead of $HOME
_cpwd='\w' _cpwd='\w'
# Show read-only status in certain directories # Show read-only status in certain directories