📅  最后修改于: 2022-03-11 15:04:58.989000             🧑  作者: Mango
# install ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# clone repo
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && it clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# change ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)