The color scheme defined in /etc/profile.d/shell.conf makes most of the text white. This is quite hard to read on a white background. The file itself is readonly and I can't seem to override it with a .bashrc or .bash_profile.

This commit allows the client terminal to set its preferred text color.
This commit is contained in:
JD239 2012-07-09 23:34:51 +03:00
parent 9ac5ddc93a
commit cfb49e8781

View File

@ -23,7 +23,7 @@
# evironment variables that are not user defined.
################################################################################
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] '
export PS1
TERM="linux"