【发布时间】:2021-09-25 07:50:44
【问题描述】:
我正在学习本教程:
https://betterprogramming.pub/setting-up-your-mac-for-web-development-in-2020-659f5588b883
我被困在这部分:
To update our default shell to be Homebrew’s Zsh, we need to edit the shell’s whitelist: sudo vim /etc/shells. (If you’re not comfortable with Vim, you can use TextEdit instead by running sudo open /etc/shells.)
Add a new line with /usr/local/bin/zsh, save, and close.
To change the default shell, run: chsh -s /usr/local/bin/zsh.
当我运行 sudo open /etc/shells 并尝试编辑时,它说我不拥有文件外壳并且我无法编辑文件。我是 MacOS 的新手,所以不确定我做错了什么......
【问题讨论】: