买了m1芯片的macbook pro, terminal里用网上教程配置了一些东西,并未成功
现在terminal里会显示这个
Last login: Mon Aug 29 21:51:01 on ttys000
/Users/xiaoleiwang/.zshrc:1: command not found: “alias
/Users/xiaoleiwang/.zshrc:2: command not found: “alias
xiaoleiwang@xiaoleis-MacBook-Pro ~ % python3
Python 3.10.6 (main, Aug 11 2022, 13:36:31) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
vscode运行时python的路径也是上面的代码
为什么会有这个.zshrc:1: command not found: “alias
/Users/xiaoleiwang/.zshrc:2: command not found: “alias
如何去掉它?
~/.zshrc贴出来看看
它的前几行应该有个PATH
export PATH="/user/local/bin:$PATH"
export PATH="/user/local/sbin:$PATH"