change shell on a mac
trying to change my login shell to zsh using the zsh built with homebrew i faced a small issue as OS X claimed:
chsh: /usr/local/bin/zsh: non-standard shell
The solution was to add the shell to the “approved” list:
echo "/usr/local/bin/zsh" >/etc/shells
The a simple
chsh -s /usr/local/bin/zsh will do the trick.