复制粘贴执行:
代码语言:javascript复制yum -y install zsh wget git && chsh -s /bin/zsh && wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh && sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="avit"/g' ~/.zshrc
重新打开终端
主题模板链接:
代码语言:javascript复制https://github.com/ohmyzsh/ohmyzsh/wiki/themes
修改主题: vim ~/.zshrc
修改后保存,重新打开终端即可显示。