«   2021/03   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
03-06 16:50
Notice
Today
45
Total
1,407,990
관리 메뉴

변군이글루

[MAC] compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 에러 본문

+ 기타

[MAC] compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 에러

변군 변군이글루 2021. 1. 26. 21:38

compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask 에러

$ source .zshrc
compinit:503: no such file or directory: /usr/local/share/zsh/site-functions/_brew_cask

 

무슨 에러일까요?

/usr/local/share/zsh/site-functions/_brew_cask 디렉토리가 있는데...

$ ls -l /usr/local/share/zsh/site-functions/_brew_cask
lrwxr-xr-x  1 user1  admin  44  8 15  2018 /usr/local/share/zsh/site-functions/_brew_cask -> ../../../Homebrew/completions/zsh/_brew_cask

$ ls -l ../../../Homebrew/completions/zsh/_brew_cask
ls: ../../../Homebrew/completions/zsh/_brew_cask: No such file or directory

어떤 에러인지는 모르겠지만 _brew_cask 파일을 터치로 생성하여 해결하였다

$ touch ../../../Homebrew/completions/zsh/_brew_cask

touch: ../../../Homebrew/completions/zsh/_brew_cask: No such file or directory

 

에러(?) 없이 잘 실행된다.

source ~/.zshrc

 

4 Comments
댓글쓰기 폼