修改linux 的bash 为zsh

针对centos
1.  yum -y install zsh git  

 

2. git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

 

3.   cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

 

4. ZSH_THEME="ys"

5.  chsh -s /bin/zsh

 

 

 

 

posted @ 2018-08-15 12:48  张璨  阅读(190)  评论(0编辑  收藏  举报