oh-my-zsh Github:
https://github.com/ohmyzsh/ohmyzsh
安装步骤:
安装 zsh
yum install zsh# 将 Zsh 设置为默认 Shellchsh -s /bin/zsh
安装 oh-my-zsh
via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
via wget
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
修改主题(推荐主题 avit)
配置文件位置: ~/.zshrc 修改参数: ZSH_THEME = "ys"; 重新打开shell后,设置生效。
更多主题: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes