CentOS7安装zsh终端主题

2021-02-19 11:12:15 浏览数 (1)

复制粘贴执行:

代码语言: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

修改后保存,重新打开终端即可显示。

0 人点赞