📅 2012-Nov-09 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ colors, prompt, terminal, ubuntu ⬩ 📚 Archive
All the text displayed in the terminal is in the same color in Ubuntu. This makes it hard to distinguish the output from several commands in the terminal. It is nice to have the prompt displayed in a color different from the normal text.
To turn on color for the prompt, open
.bashrc and uncomment the following line in it:
Restart the terminal and the prompt should be in color now. By default, it seems to be green in color.
Tried with: Ubuntu 12.04