Mac OSX:安装zsh

想在mac下安装oh my zsh,按照https://github.com/robbyrussell/oh-my-zsh上的文档,执行下面这条命令安装:
curl -L http://install.ohmyz.sh | sh

结果老是会报chsh: /usr/local/bin/zsh: non-standard shell
这是因为zsh并没有安装到这个目录。解决这个问题就需要我们将chsh指向的zsh目录改掉即可。执行如下命令:
chsh -s /bin/zsh

这样就能开始使用zsh。

原文地址:https://www.cnblogs.com/ilovewindy/p/3971894.html