先安裝oh my zsh
vi ~/.zshrc 修改ZSH_THEME="agnoster"
為了隱藏user@hostname 在.zshrc里面加上```
DEFAULT_USER=whoami
#安裝字體庫[powerline-font](https://github.com/powerline/fonts)
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
rm -rf fonts
terminal偏好設置,修改字體為Meslo LG S DZ Regular for Powerline,重啟terminal 效果如下
