zsh problem: compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew
[oh-my-zsh] Solution:
[oh-my-zsh] Solution:
## zsh problem: compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew
Solution:
```zsh
sudo ln -fsv /opt/homebrew/completions/zsh/_brew /usr/local/share/zsh/site-functions/_brew
brew cleanup && source ~/.zshrc
```
Then it was solved.
Read More:
- Use the Zsh plug-in ‘Zsh syntax highlighting’ to highlight your available Zsh commands
- Error: No such keg: /usr/local/Cellar/node&install nvm&brew installation&Oh my zsh.git installation&git set alias&No bundle URL prese
- Error: no such keg: / usr / local / cellular / node & install NVM & Brew install & oh my Zsh. Git install & git set alias & no bundle URL press
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- brew install node Error: No such file or directory @ dir_chdir Bottle installation failed
- Configure Java environment variables for Ubuntu with Zsh configuration
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- macbook golang zsh: exec format error
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- Can’t exec “aclocal”: No such file or directory
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- Mac reports an error zsh: fork failed: resource temporarily unavailable (reasons and solutions)
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- Solve the problem of “bash. / don’t have that file or directory” in Ubuntu 64 bit
- Solve the problem of copy failed: stat / var / lib / docker / TMP / docker builder 455335933 / opt: no such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- fatal error: Python.h: No such file or directory
- Linux has no way to solve bash. / that file or directory
- Ubuntu 64 prompts bash: no such file or directory file exists