###### tags: `學習` `terminal` `M1` # 在 Apple M1版本上 oh-mv-zsh 出錯找不到 zsh-syntax-highlighting.zsh 報錯 > no such file or directory: /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ![](https://i.imgur.com/mqyAw03.png) 把 根目錄下的 .zshrc 打開 ![](https://i.imgur.com/lEQKDE3.png) 把 ```source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh``` 改成```source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh``` 保存從開 ![](https://i.imgur.com/abHtW2R.png) 好了