zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.3k stars 1.85k forks source link

Unable to find plugin for. zshrc configuration #760

Open V-zhangyunxiang opened 9 months ago

V-zhangyunxiang commented 9 months ago

I installed zsh autosuggestions through brew, but after executing source~/. zshrc, I was prompted [oh-my-zsh] plugin 'zsh-autosuggestions' not found,Then I moved the zsh autosuggestions in the brew directory to the~/. oh my zsh/custom/plugins/path and executed source~/. zshrc again, but it still did not work

~ source ~/.zshrc /Users/myName/.zshrc:source:74: no such file or directory: /Users/myName/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh /Users/myName/.zshrc:source:75: no such file or directory: /Users/myName/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh [oh-my-zsh] plugin 'zsh-autosuggestions' not found [oh-my-zsh] plugin 'zsh-syntax-highlighting' not found

.zshrc config plugins=(brew git zsh-autosuggestions zsh-syntax-highlighting) source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source $ZSH/oh-my-zsh.sh