/Users/사용자/.zshrc:source:77: no such file or directory: /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 오류

omz(ohmyzsh)를 업데이트 하려는데 다음과 같은 오류가 났다.

 

해결방법
출처 : https://stackoverflow.com/questions/61605710/how-do-i-upgrade-oh-my-zsh-when-it-fails-because-of-a-git-rebase-error

$cd .oh-my-zsh/ ( to change to the Oh My Zsh root directory)
$git status (this should show you what changes you made)
$git stash/git add . (choose whether you want to add and commit the change or just stash)
$git commit -m (if you decided to keep and add the changes)
$upgrade_oh_my_zsh