设置路径:Preference → Profile → Default → Colors → (右下角)Color Presets
Solarized Dark 主题 iTerm 2 已内置,也可从 https://ethanschoonover.com/solarized/ 下载
注意额外配置 Colors → ANSI Colors → Bright Black 为 #839496
设置路径:Preference → Profile → Default → Keys → Key Mappings,在下面的 Presets 中选择增加「Natural Text Editing」
然后就可以利用 Option + 左右键来以单词为单位移动了
可使用 fig 的插件来完成
sh -c "$(curl -fsSL [<https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh>](<https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh>))"
pip install powerline-status
git clone <https://github.com/powerline/fonts.git> --depth=1
cd fonts
./install.sh
之后进入 iTerm 2 相应的 Profile,修改 Text 的 Fonts 为「Dejavu」、设定相应的粗细、大小即可(我习惯设定为大小 14 行间距 120)
使用 fig 插件时在插件中配置
修改 ~/.zshrc
文件,将 theme 修改为 agnoster
,并添加一行 DEFAULT_USER=
whoami``