From e26e2ca341e736f49a6b29af5dee7e9ad9e8d51d Mon Sep 17 00:00:00 2001 From: Maxim Veksler Date: Tue, 27 Oct 2015 23:00:53 +0200 Subject: [PATCH 1/2] 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 ``` --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 75af4b5..ae6abb3 100644 --- a/README.md +++ b/README.md @@ -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: ```bash brew install zsh && \ +sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' \ chsh -s $(brew --prefix)/bin/zsh ``` From 3bd32071d8121b866a3f6b24b7061ea438a8eed4 Mon Sep 17 00:00:00 2001 From: Maxim Veksler Date: Thu, 29 Oct 2015 19:31:01 +0200 Subject: [PATCH 2/2] Fix conditional chaining --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae6abb3..aa6c387 100644 --- a/README.md +++ b/README.md @@ -1264,7 +1264,7 @@ shell for OS X, Linux, and the rest of the family. Install the latest version and set as current users' default shell: ```bash brew install zsh && \ -sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' \ +sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' && \ chsh -s $(brew --prefix)/bin/zsh ```