炫酷terminal

先安裝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 效果如下
![](http://upload-images.jianshu.io/upload_images/5967669-c9779f71325c836c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容