给win装上了它的的改版 oh-my-posh, 那么 linux 原生的 oh-my-zsh 那一定更得装上吧!
搞起,
oh-my-zsh官方文档 https://github.com/ohmyzsh/ohmyzsh
0x0001.安装zsh包
yum -y install zsh
0x0010切换默认shell为zsh
chsh -s /bin/zsh
0x0011.安装on my zsh
curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
wget sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
0x0100 修改主题
查看主题
ls ~/.oh-my-zsh/themes