iterm2官网所提供的配色方案iTerm2-Color-Schemesgit
在schemes目录下提供了不少种配色方案
altercation大神的solarized配色方案solarizedgithub
在这个repo中给出了多个编辑器的配色方案,显然咱们须要的是目录 iterm2-colors-solarized下的 Solarized Dark.itermcolors 和 Solarized Light.itermcolors
clone上面的repovim
进入iterm2,而后⌘commmand + ibash
进入colors标签,Load Preset;而后点选import导入上面所说的配色方案便可编辑器
进入text标签,不勾选Draw bold text in bright colors选项code
配置.bash_profileget
vim $HOME/.bash_profile,添加下列代码it
CLICOLOR=1 LSCOLORS=gxfxcxdxegedabagacad export PS1='[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$' export TERM=xterm-color
source $HOME/.bash_profile ,使得上述配置生效io
重启iterm2便可import