安裝:
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