-
Notifications
You must be signed in to change notification settings - Fork 51
install zsh
Yi-Ting Cheng edited this page Feb 4, 2013
·
2 revisions
根據 http://blog.longwin.com.tw/2011/10/macosx-shell-zsh-2011/ 安裝 zsh
Mac 本身自帶 zsh,所以只要 chsh -s /bin/zsh即可
cd ~/git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zshcp ~/.zshrc ~/.zshrc.origcp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrcvim .zshrc
#ZSH_THEME="steeef"
ZSH_THEME="agnoster"
plugins=(git osx) # 啟用 git, osx 的 plugin, ~/.oh-my-zsh/plugins 有更多可以參考
此時安裝完畢,可以新開 Tab 生效。
由於 agnoster 需要特殊字型。
所以必須安裝 patched 過的三個字體:https://gist.github.com/1595572。(下載後雙擊安裝這三個字體。)
SOLARIZED 布景是特殊調製的一個背景。按此 下載 最新版本。
解壓縮後裡面有很多布景。
-
Preference->Profiles->Colors->Load Presets->Import,載入iterm2-colors-solarized目錄下的兩個 itermcolors -
Preference->Profiles->Colors->Load Presets,載入Solarized Dark。