如何替换 iTerm 布景?

安装 SOLARIZED 布景

SOLARIZED 布景是特殊调制的一个背景。 点击这里下载 最新版本。

解压缩后里面有很多布景。

替换掉 iTerm 布景

  • 请在 iTerm 里按command+,(就是键盘上的逗号)打开 Preferences 对话框
  • Preferences -> Profiles -> Colors -> Color Presets -> Import,载入 iterm2-colors-solarized 目录下的两个 itermcolors
  • Preferences -> Profiles -> Colors -> Color Presets,选择 Solarized Dark

替换掉 iTerm 字体

  • Preferences -> Profiles -> Text -> Change Font换成 Menlo 字体,字号 14。

完成效果:

按 command+q 退出 iTerm 再重新打开会看到类似下图:
Screen Shot 2016-10-13 at 2.48.26 PM.png

蓝色为目前自己所在的专案(rails101)
以及所在分支(ch08), 绿色代表没有任何改动无需 commit
Screen Shot 2016-10-13 at 2.48.48 PM.png

橘色代表有改动过代码尚未 commit,需要 git add .及git commit -m "备注"