Setting zsh as default shell on El Capitan

Work around this bug:

```bash
chsh -s $(brew --prefix)/bin/zsh
chsh: /usr/local/bin/zsh: non-standard shell
```
This commit is contained in:
Maxim Veksler 2015-10-27 23:00:53 +02:00
parent 9b54375d44
commit e26e2ca341

View File

@ -1264,6 +1264,7 @@ shell for OS X, Linux, and the rest of the family.
Install the latest version and set as current users' default shell: Install the latest version and set as current users' default shell:
```bash ```bash
brew install zsh && \ brew install zsh && \
sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' \
chsh -s $(brew --prefix)/bin/zsh chsh -s $(brew --prefix)/bin/zsh
``` ```