Quote:
Originally Posted by tetrodozombie
set a function before you set the prompt like this:
showblu()
{
print "\033[01;34m"
}
PS1='$(showblu)|\w| '
That will keep you from losing color if you compile source from the ports collection.
But, still, you lose color in Vim and Vi. That's where you need colorschemes like pablo and murphy.
Hope this helps somebody who's a stickler for color text like me. I found a way easy way to do it in FreeBSD about a year ago, on the command line, type: vidcontrol -fg green.
|
If you want all the text one colour, set it that way.
For sane people, they would want a prompt to turn the colour change off afterwards.
__________________
My
Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.