- 下载auto-fu.zsh
1 | cd ~/.oh-my-zsh/custom/plugins |
- 执行zcompile
1 | A=~/.oh-my-zsh/custom/plugins/auto-fu/auto-fu.zsh; (zsh -c "source $A ; auto-fu-zcompile $A ~/.zsh") |
- 添加下面的设置到zshrc中
1 | ## auto-fu.zsh stuff. |
- 重新编译zshrc
1 | source ~/.zshrc |
我是一个在黑暗中大雪纷飞的人啊
1 | cd ~/.oh-my-zsh/custom/plugins |
1 | A=~/.oh-my-zsh/custom/plugins/auto-fu/auto-fu.zsh; (zsh -c "source $A ; auto-fu-zcompile $A ~/.zsh") |
1 | ## auto-fu.zsh stuff. |
1 | source ~/.zshrc |