安装 oh-my-zsh 插件

macOS的用户安装zsh-autosuggestions等没有自带的插件,基本如下操作:

1
2
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
vi ~/.zshrc

编辑该文件

1
2
3
4
plugins=(
git
zsh-autosuggestions
)

最后更新配置文件

1
source ~/.zshrc

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×