安装使用on-my-zsh
- 安装zsh:
yum isntall -y on-my-zsh
- 下载安装主题:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- 替换bash:
chsh -s "which zsh"
- 切换主题:
vi ~/.zshrc
,替换ZSH_THEME="agnoster"
- 安装git:
yum install -y git
- 下载安装文字样式:
git clone https://github.com/powerline/fonts.git && ./fonts/install.sh
- 设置客户端字体为自定义样式
- 重启终端