Diff
1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
2index dbff1ced9685d00d328b8543852c0ce0219f6c14..2157c38a0a1cb56c6c785ba67ba05b64d2159500 100644
3--- a/oh-my-zsh.sh
4+++ b/oh-my-zsh.sh
5@@ -1,3 +1,11 @@
6+# Check for updates on initial load...
7+if [ "$DISABLE_AUTO_UPDATE" = "true" ]
8+then
9+ return
10+else
11+ /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
12+fi
13+
14 # Initializes Oh My Zsh
15
16 # add a function path
17@@ -28,7 +36,6 @@ done
18 for config_file ($ZSH/custom/*.zsh) source $config_file
19
20 # Load the theme
21-# Check for updates on initial load...
22 if [ "$ZSH_THEME" = "random" ]
23 then
24 themes=($ZSH/themes/*zsh-theme)
25@@ -41,11 +48,3 @@ else
26 source "$ZSH/themes/$ZSH_THEME.zsh-theme"
27 fi
28
29-
30-# Check for updates on initial load...
31-if [ "$DISABLE_AUTO_UPDATE" = "true" ]
32-then
33- return
34-else
35- /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
36-fi
37diff --git a/tools/upgrade.sh b/tools/upgrade.sh
38index 7e5cc7655d21cc887fd8fd06fb9956dc5e4bd47c..e30488822e99ddc93f2fe41a6d2753441511142b 100644
39--- a/tools/upgrade.sh
40+++ b/tools/upgrade.sh
41@@ -8,6 +8,5 @@ echo "\033[0;32m"'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '"\033[0m
42 echo "\033[0;32m"'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '"\033[0m"
43 echo "\033[0;32m"' /____/ '"\033[0m"
44 echo "\033[0;34mHooray! Oh My Zsh has been updated and/or is at the current version.\033[0m"
45-echo "\033[0;34mAny new updates will be reflected when you start your next terminal session.\033[0m"
46 echo "\033[0;34mTo keep up on the latest, be sure to follow Oh My Zsh on twitter: \033[1mhttp://twitter.com/ohmyzsh\033[0m"
47 cd $current_path