Zsh 安装 cat /etc/shells先看下你的 CentOS 支持哪些 shell:cat /etc/shells,正常结果应该是这样的: /bin/sh /bin/bash /sbin/nologin /bin/dash /bin/tcsh /bin/cshCentOS7.9 安装: yum install -y zsh切换shell为zsh: chsh -s /bin/zsh reboot //重启生效 echo $SHELL //重启之后看看默认shell是不是zshoh-my-zsh源码是放在github上,先确保你的机器上已安装了git: git clone https://...