我刚刚注意到我$PATH
的位置无效:
\> $PATH
zsh: no such file or directory: /usr/bin:/bin:/usr/sbin:/sbin: ...
我使用 prezto,根据文档,配置文件按以下顺序获取:
- /etc/zshenv
- ~/.zshenv
- /etc/zprofile
- ~/.zprofile
- /etc/zshrc
- ~/.zshrc
- ~/.zpreztorc
- /etc/zlogin
- ~/.zlogin
- ~/.zlogout
- /etc/zlogout
我检查了整个列表,但找不到任何以前的东西/usr/bin
关于如何找到触发问题的任何建议?
谢谢!