How to display my prompt in color? I see a lot of text go up my screen, and a lot of crud. Something like (red)myName(red)@(blue)myMachine:~$(blue) would help simplify things a lot.
Asked
Active
Viewed 3,436 times
8
Zanna
- 72,312
theTuxRacer
- 16,533
1 Answers
9
You can just edit your ~/.bashrc file and remove the hash (#) from the line:
#force_color_prompt=yes
Save the file, and from then on, your newly-opened shells will be colored.
David Foerster
- 36,890
- 56
- 97
- 151
Pavlos G.
- 8,954