Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I haven't been able to apply any color scheme to iTerm2.

It looks like that the Basic Colors are applied, but the ANSI Colors are not (as shown in Preferences>Profiles>Colors).

Using Mac OSX 10.7.2. Any help?

share|improve this question
    
So there is a bug in iterm2.... Use default item provided.... – ZaB Mar 11 '12 at 22:10
    
Really any color you select? What is the Terminal Type selected in Preferences » Profiles » Default » Terminal under Terminal Emulation? – slhck Mar 11 '12 at 22:21
    
@slhck Report Terminal Type: xterm-256color – Panagiotis Panagi Mar 12 '12 at 12:51
    
Try changing it to xterm and see if that works. – slhck Mar 12 '12 at 13:05
    
@slhck Changed to xterm and xterm-new and restarted. Nothing works. – Panagiotis Panagi Mar 12 '12 at 13:14
up vote 49 down vote accepted

I've been having the same issue and this is what seems to have solved it:

In your .bash_profile set CLICOLOR before setting TERM:

# Set CLICOLOR if you want Ansi Colors in iTerm2 
export CLICOLOR=1

# Set colors to match iTerm2 Terminal Colors
export TERM=xterm-256color

save bash file and source:

source ~/.bash_profile 

Then, in your iTerm2 Preferences > Profiles > Terminal > Report Terminal Type, set to either xterm-256color or xterm

Close iTerm2, restart it and type ls. That did the trick for me.

Good luck.

share|improve this answer
    
it works very well for me – ajreal Apr 22 '13 at 19:27
1  
exporting the CLICOLOR finally made colors appear in iTerm2. The preference had xterm-256color set, I wonder why this was tripping it up. – mguymon Feb 12 '14 at 21:18
    
if this doesn't work, that a look at the 2nd answer bellow about the contrast... – João Pinho Jan 6 at 1:40

this is a really old question, but make sure your Preferences->Colors->Minimum contrast setting is not at the max... if it is and you've done what is suggested above, slide it to a lower setting and you should see the colors appear.

share|improve this answer

I had the same problem and found a solution: Profiles -> Colors -> Minimum Contrast. If it's high, then you only get black and white.

share|improve this answer
    
i set this without knowing that it set all the colors to black & white, and this comment help me fix that. THanks! – Roy Rico Jun 3 '15 at 18:58
    
superb! it worked, what a ...flower! ... my iterm got setup like that by default. – João Pinho Jan 6 at 1:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .