How to Color Code Your Terminal in Gnome Shell 3.x

Ever wished you had a color coded terminal like this?

xjonquilx | Sabayon, Ubuntu, Fedora, Linux, Oh My!

It's quite easy to do in Gnome Shell 3.x. First, open your home directory. Then press Ctrl + H to see your hidden files. Find the .bashrc file and open it. Add this command:

PS1='${debian_chroot:+($debian_chroot)}\\[\033[0;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

Save it and close out. Log out and log back in. You should now have a color coded terminal like the one above.

 

xjonquilx | Sabayon, Ubuntu, Fedora, Linux, Oh My!