首页 > 代码库 > zsh

zsh

sudo apt-get install curl zsh


curl -L http://install.ohmyz.sh | sh

sudo chsh -s $(which zsh) $(whoami) #this to change your default sh to zsh


then you should logout and relog for enable zsh


edit ~/.zshrc to custom theme:

change ZSH_THEME=””

I like intheloop theme better.


more info see:

https://github.com/robbyrussell/oh-my-zsh

https://github.com/robbyrussell/oh-my-zsh/wiki/themes

zsh