본문 바로가기

맥(솔라리스)

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

반응형

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

 

728x90
반응형