1 iTerm字体颜色
- Install Homebrew
- install coreutils by command:
brew install xz coreutils
- generate color-difinition file using following command:
gdircolors --print-database > ~/.dir_colors
Put following code in
~/.bash_profile
fileif brew list | grep coreutils > /dev/null ; then PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH" alias ls='ls -F --show-control-chars --color=auto' eval `gdircolors -b $HOME/.dir_colors` fi
grep highlight
alias grep='grep --color' alias egrep='egrep --color' alias fgrep='fgrep --color'
When use iTerm, make sure to unselect
draw bold text in bright colors
!!!
2 Sublime Text 配色问题
- Install Package Control
- Under package control
cmd+shift+p
, install Sodarized UI Theme - For Solarized-Color-Scheme, because I need to customize my color a little bit, so do not use pre-built Solarized exec file from package control, instead install it manually by downloading Solarized Color Theme and put it into path
~/Library/Application Support/Sublime Text 3/Packages
folder. Then set the color scheme bySublime Text - Preferences - Color Scheme - Solarized
3 IntelliJ Idea 配色问题
- Editor Color Scheme
- Download Solarized Dark.icls
- Create new directory at
~/Library/Preferences/IntelliJIdea2016.3/colors
- Put the downloaded
Solarized Dark.icls
into the above directory - Restart IntelliJ idea
->Preferences->editors->color and fonts->schemes
, chooseSolarized Dark
- UI theme
- To Change the UI theme is a little bit trickier, refer to here. Key point is to replace the
Applications/Contents/lib/idea.jar
by the command. Before executing the command, make sure to create pathcom/intellij/ide/ui/laf/darcula/darcula.properties
- To Change the UI theme is a little bit trickier, refer to here. Key point is to replace the