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?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
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:
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.
If using ZSH, which is the default shell in Catalina and later, use
~/.zprofile, instead of
Solarized Darkdidn't work but
Preferences -> Profiles - > Colors -> Color presetsJan 9, 2021 at 0:34
this is a really old question, but make sure your
Preferences -> Profiles -> 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.
I had the same problem and found a solution:
Profiles -> Colors -> Minimum Contrast. If it's high, then you only get black and white.
If you are using
zsh and @sam3k answer didn't work for you - you should put those lines in
.zshrc instead of
Several answers have mentioned the contrast setting. Even at about 60% of the way across my ANSI blue turned black.
Crank the contrast down before you look for other solutions; it is way more aggressive than I expected.
If both modifying .zshrc and turning down minimum contrast DIDN'T WORK, then also make sure that Cursor Boost value is small enough.
export CLICOLOR=1 export TERM=xterm-256color
To the following file:
I saved this and then I ran:
The color scheme was then applied.
Please not you will need to run the source command for every terminal window that was already open before you made the changes in the .zshrc file.
I had the same issue but had to change a Mac OS Preference for the color scheme to be persisted.
Opening 'System Preferences' and unchecking the 'Close windows when quitting an app' radio button worked for me.
xtermand see if that works.
xterm-newand restarted. Nothing works.