summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorMichael Komitee <mkomitee@me.com>2011-06-04 14:03:10 -0400
committerMichael Komitee <mkomitee@me.com>2011-06-04 14:03:10 -0400
commit9b4a89f327a045ed5e756ae4e75d1aac68803164 (patch)
treed1f9e466c839ff9d98984bb7eaf722d93473d789 /oh-my-zsh.sh
parente8bd400bffc51c83e0ef6671ecb5f364dc2f5065 (diff)
downloadzsh-9b4a89f327a045ed5e756ae4e75d1aac68803164.tar.gz
zsh-9b4a89f327a045ed5e756ae4e75d1aac68803164.tar.bz2
zsh-9b4a89f327a045ed5e756ae4e75d1aac68803164.zip
Fix bug from Pull request #395
#395 broke oh-my-zsh for users who disable check-for-updates
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 2157c38a0..d72d90cf9 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -1,8 +1,6 @@
# Check for updates on initial load...
-if [ "$DISABLE_AUTO_UPDATE" = "true" ]
+if [ "$DISABLE_AUTO_UPDATE" != "true" ]
then
- return
-else
/usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh
fi