安装item2
官网直接下载
安装oh-my-zsh
sh -c “$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
安装 Powerline 字体(解决乱码问题)
git clone git@github.com:powerline/fonts.git cd fonts ./install.sh
安装 solarized dark (颜色问题)
profiles->color->solarized dark
agnoster theme
-
vi .zshrc
-
找到ZSH_THEME,更新值为agnoster
语法高亮
- brew install zsh-syntax-highlighting
- 在 .zshrc 末尾追加
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
to