首先安装zsh
sudo apt install zsh
再安装个git
sudo apt install git
设置默认shell
usermod -s /bin/zsh 用户名
在git下载oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
备份已有的zshrc, 替换zshrc
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
配置主题, 可以通过修改~/.zshrc中的环境变量ZSH_THEME来完成
详细的主题图案,通过下面链接来找
https://github.com/robbyrussell/oh-my-zsh/wiki/themes