Address: https://github.com/altercation/solarized
Http://bbs.feng.com/read-htm-tid-10259499.html
To comfortably use the command line (at least) in a Mac OS X terminal, you need to color 3 tools, terminal, VIM, and LS. First download solarized:
$ git clone git://github.com/altercation/solarized.gitterminal/iterm2
Mac OS X comes with Terminal and free iTerm2 are very useful tools, ITERM2 can be cut into multiple windows, more convenient.
If you are using Terminal, under Solarized/osx-terminal.app-colors-solarized, double-click solarized Dark ansi.terminal and solarized light ANSI The. Terminal will automatically import two color schemes Dark and light into the Terminal.app.
If you are using ITerm2, double-click solarized dark.itermcolors and solarized light.itermcolors under solarized/iterm2-colors-solarized Two files will be able to import the configuration file into the iTerm.
Vim
<ignore_js_op>
Vim is best matched to the color of the terminal, otherwise it would be awkward to use the command line vim in Terminal/iterm2:
$ CD solarized
$ CD Vim-colors-solarized/colors
$ mkdir-p ~/.vim/colors
$ CP Solarized.vim ~/.vim/colors/
$ VI ~/.VIMRC
Syntax enable
Set Background=dark
ColorScheme solarized
Iterm2 and Solarized
Ls
Mac OS X is based on FreeBSD, so some tools ls, top, etc. are BSD that set, LS is not GNU ls, so even if the TERMINAL/ITERM2 is configured with color, but on the Mac-typed LS command will not be highlighted, you can install Coreutils to solve (brew install coreutils), but if the LS color is not picky, there is a simple way to output clicolor=1 in. Bash_profile:
$ VI ~/.bash_profile
Export Clicolor=1
Vim and Solarized
<ignore_js_op>
Mac Terminal Color Matching