如果在使用chsh
的時候,遇到下面這種提示:
fanweixiao@localhost:~3.2*0$chsh -s /usr/local/bin/zsh Changing shell for fanweixiao. Password for fanweixiao: chsh: /usr/local/bin/zsh: non-standard shell
需要做的是:
echo "chsh -s /usr/local/bin/zsh" >> /etc/shells
然後在用chsh
就ok了
原文地址:Using zsh as default shell on Mac osx, 感谢原作者分享。 在旅途中,我遇见了你,你我相识是缘分!看着你手中的戒指,