安装:
sh
sh -c "$(curl -fsSL https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh)"
与iTerm2一起使用
配色方案
https://github.com/robbyrussell/oh-my-zsh/wiki/themes
In order to enable a theme, set
ZSH_THEME
to the name of the theme
in your~/.zshrc
, before sourcing Oh My Zsh;
for example:ZSH_THEME=robbyrussell
编辑
~/.zshrc
,修改ZSH_THEME=<主题名>
(~/.zshrc是隐藏的)
Cobalt2 Colour Scheme for iTerm2 + ZSH
ZSH:下载后将拷入到文件夹~/.oh-my-zsh/themes中即可(.oh-my-zsh是隐藏的)
iTerm2:参考iTerm2 Tip
Cobalt2主题需要先安装字体
https://github.com/powerline/fonts