Colorize Linux Shell Menu

Do you ever feel like you’re going blind because the prompt text color and the result text color are the same?
We here is how to colorize your shell menu

Open your favorite text editor vim or nano, and add this at the end

1
2
$ nano ~/.bashrc
PS1='\[\e[1;32m\][\u@\h \t \w]\$\[\e[0m\] '

0;30 black
0;31 light red
0;32 light green
0;33 light yellow
0;34 light blue
0;35 light purple
0;36 light cyan

This entry was posted in Linux, Operating System, Ubuntu. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


− 4 = two