LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I stop redhat bash colors? they are breaking my balls! (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-stop-redhat-bash-colors-they-are-breaking-my-balls-484190/)

gtjmn308 09-16-2006 06:35 PM

How do I stop redhat bash colors? they are breaking my balls!
 
Hi,

just installed RHAT ES 4.4, when I log into and use commands - especially vi - my screen becomes inundated with various color.


ITS FRUSTRATING THE HELL OUT OF ME! From deep in the memory banks I think there is a bash setting that can turn colour off - something like "nocolor" something?

Can someone please help?


GReg.

vls 09-16-2006 07:42 PM

If the vi is really vim, the try this in command mode (hit the esc key a couple of times to make sure):

Code:

:syntax off
If your prompt is colorized, that's probably coming from /etc/profile but possibly some junk in your ~/.bash_profile or ~/.bashrc (depends on what RedHat dumps in your $HOME).

Try resetting PS1
PS1="\u@\h \$ " produces user@host $

There is no standard bash setting for colors.

jcliburn 09-16-2006 09:41 PM

man dir_colors


All times are GMT -5. The time now is 04:00 PM.