59116a25f1b071a691a7df2abf2f41d0ed2a2798

Author
johnmaxwelliv <notifyjohn@gmail.com>
Committer
johnmaxwelliv <notifyjohn@gmail.com>
Date

Message

Instead of using the user's standard shell, this script should be run using zsh, since that was the shell it was written for.  On my machine changes to my default shell only take effect when I log out and then long in again.  Plus, it's nice for people to be able to try oh-my-zsh out even if zsh isn't their default shell right?  :-)

Diff

 1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
 2index eadf02d00fb0b625f58bd4ef2ea8dd56bcc85aef..d31e059f0e90c6a787141224a4ccf25d264a3fd5 100644
 3--- a/oh-my-zsh.sh
 4+++ b/oh-my-zsh.sh
 5@@ -15,5 +15,5 @@ if [ "$DISABLE_AUTO_UPDATE" = "true" ]
 6 then
 7   return
 8 else
 9-  /bin/sh $ZSH/tools/check_for_upgrade.sh
10+  /bin/zsh $ZSH/tools/check_for_upgrade.sh
11 fi