.profile: Stop giving different shells special treatment
This commit is contained in:
parent
61cd16c5b4
commit
22b12c7de4
13
.profile
13
.profile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user