ubuntu 国内环境安装ohmyzsh
使用国内镜像加速安装 Oh My Zsh
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
配置默认shell为zsh(重启shell生效)
chsh -s $(which zsh)
安装插件
- zsh-autosuggestions
git clone https://gitee.com/imirror/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
2.zsh-syntax-highlighting
git clone https://gitee.com/imirror/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
3.autojump
sudo apt install autojump
- 配置 .zshrc
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
autojump
)

浙公网安备 33010602011771号