Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to color the prompt ("user@host:~/dir/$") in Bash? Some commands generate a lot of output and it's sometimes hard to find where it started. Coloring would help a lot.

share|improve this question
add comment

3 Answers 3

up vote 16 down vote accepted

Found an easy way to do it:

Uncomment force_color_prompt=yes in ~/.bashrc.

share|improve this answer
1  
That's certainly the easiest way :) –  Little Jawa Nov 19 '10 at 7:30
    
I absolutely overlooked this option in the ~/.bashrc! Thanx anyways! –  Ubuntuser May 4 '11 at 10:54
add comment

Yes you can.See this link

share|improve this answer
add comment

Check http://bashish.sourceforge.net/screenshot.html :)

It's damn easy to install (click on download in the website and get the deb for ubuntu).

After that just open a terminal and digit bashish to start theming. Close and reopen the terminal and digit

bashish list

to get a list of already built themes.

Have fun :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.