目錄html
sudo apt-get install zsh
sudo apt-get install curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# 記住這個須要重啓才能生效 $ chsh -s `which zsh` # or $ sudo usermod -s /bin/zsh username
# 經過修改~/.zshrc來進行配置,修改以下 ZSH_THEME="agnoster"
到這個Github網站下載安裝Powerline
字體git
# 克隆 git clone https://github.com/powerline/fonts.git # 進入clone的位置 sudo ./install.sh
將字體更改成buntu Mono derivative Powerline
github
修改主題方案即Build-in-schemes
爲Solarized dark
shell
修改配色方案爲Solarized
ubuntu
$ cd ~/.oh-my-zsh/themes $ cp agnoster.zsh-theme myagnoster.zsh-theme $ vi ~/.zshrc # 再修改.zshrc文件中的ZSH_THEME並添加DEFAULT_USER ZSH_THEME="myagnoster" export DEFAULT_USER="username" #這裏的username就是username不要改動
參考連接:bash
Linux終端美化curl