Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My bash is white and black and I would like it to look much more colorful, how do I do that?

share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

Terminal -> Preferences -> Settings

enter image description here

Select a color scheme and click Default

share|improve this answer
    
And Solarized is a nice color scheme for Terminal and many other programs. –  SSteve May 4 '12 at 20:39
add comment

Look in the Terminal Preferences dialog, Settings pane.

share|improve this answer
add comment

In the settings mentioned in earlier answers you can only change the main background and foreground colors, but if you want to for instance change the prompt, you have to set the PS1 env variable.

There are many examples that can be found with some googling, I use this (username in blue, path in green) for my black background:

PS1="\[\e[36;1m\]\u:\[\e[32;1m\]\w$ \[\e[0m\]"

Add that piece of code to a file called .bash_profile in your home directory (it's hidden, or most likely don't exist if you haven't used it for anything yet). You may also just enter the code in the terminal once to preview it.

Edit: More info here, Works in OS X even though they write about Linux.

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.