echo $SHELLyum install -y zshchsh -s /bin/zshyum install -y gitsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zshcp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrcvim .zshrc 修改ZSH_THEME="ys”wget -O incr-0.2.zsh https://mimosa-pudica.net/src/incr-0.2.zshsource incr*.zsh原文:https://www.cnblogs.com/ShawnChan/p/11723626.html