xiaoyuchen

674 经验值

这个问题我也遇到了,你可以先装https://github.com/robbyrussell/oh-my-zsh,然后再把

1、Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
Add the plugin to the list of plugins for Oh My Zsh to load:
2、把下面这句话添加~/.zshrc文件中
plugins=(zsh-autosuggestions)

3、Start a new terminal session.

非常棒的教程,感谢JellyBool!