.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
|
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
|
_prefix="${_prefix}${fg_blue}"
|
||||||
*bash)
|
|
||||||
_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
|
||||||
|
Loading…
Reference in New Issue
Block a user