1. zsh-autosuggestions
-
下载该插件到.oh-my-zsh的插件目录
# git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
编辑.zshrc文件
找到
plugins=(git)
,更改为plugins=(git zsh-autosuggestions)
,没有就自己添加进去
2. incr
-
放到oh-my-zsh的插件库中,在plugins下创建incr文件夹,放进去
~/.oh-my-zsh/plugins/incr/incr-0.2.zsh -
修改.zshrc文件,在.zshrc文件中添加:
source ~/.oh-my-zsh/plugins/incr/incr*.zsh