How to Color Code Your Terminal in Gnome Shell 3.x
3:21 PMEver wished you had a color coded terminal like this?
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!
Related articles
- How to Reactivate ALT + F2 Shortcut in Gnome Shell in Ubuntu Oneiric [Quick Tips] (maketecheasier.com)
- Adventures with Sabayon Linux (xjonquilx.co.cc)
- Easily Install Gnome Shell In Ubuntu 11.10 & Newer [Linux] (makeuseof.com)
- How to Change the Login Screen Wallpaper in Gnome 3.x Shell (xjonquilx.co.cc)
4 comments
Uhm, how does this relate to gnome shell? This is the regular way for the shell prompt to be colored.
ReplyDelete.To you maybe but not for everyone. This was based off a question on Yahoo Answers.
ReplyDelete[...] How to Color Code Your Terminal in Gnome Shell 3.x [...]
ReplyDelete[...] How to Color Code Your Terminal in Gnome Shell 3.x (xjonquilx.co.cc) [...]
ReplyDelete