安装zsh和oh-my-zsh
brew install zsh
https://ohmyz.sh/#install
下载三方插件
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-autosuggestions.git --depth 1
git clone https://github.com/zsh-users/zsh-completions --depth 1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git --depth 1
cat ~/.zshrc
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
zsh-completions
)
网友评论