安装zsh以及oh-my-zsh 2018.7.21 2020.5.25 技术 56 1 分钟 zsh 1 $ sudo apt install zsh git oh-my-zsh 1 2 3 4 5 $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # or $ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" zsh替换bash 1 $ vim ~/.bash_profile exec zsh source ~/.zshrc 更改配置 1 $ vim ~/.zshrc #ZSH_THEME="rubbyrussell" ZSH_THEME="ys" 作者:LittleGhost 链接:https://blog.littleghost.ml/posts/安装zsh以及oh-my-zsh/ 许可:CC BY-NC-SA 4.0