安装zsh以及oh-my-zsh 2018.7.21 2020.5.25 技术 56 1 分钟 36 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