From e5d5d3c87a0faf3af6f8fc92cf6e039e4ed97bc5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Mar 2013 04:33:59 -0400 Subject: [PATCH] Detect location of zsh binary --- install/zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/zsh b/install/zsh index 8f85e9f1..14fb44f2 100755 --- a/install/zsh +++ b/install/zsh @@ -14,7 +14,7 @@ if [ ! -d ~/.oh-my-zsh ]; then # Set new shell echo-g "==> ZSH: Changing shell" - chsh -s /bin/zsh + chsh -s $(which zsh) else echo-g "==> ZSH: Updating" cd ~/.oh-my-zsh