Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix bug introduced in pull request #395 which impacts users who DISABLE_AUTO_UPDATE #400

Merged
merged 1 commit into from

2 participants

@mkomitee
#395 broke oh-my-zsh for users who disable check-for-updates

sourcing oh-my-zsh.zsh will return immediately without doing anything if DISABLE_AUTO_UPDATE is set to "true". This fixes that.

Michael Komitee Fix bug from Pull request #395
    #395 broke oh-my-zsh for users who disable check-for-updates
9b4a89f
@mkomitee

I submitted issue #401 which goes along with this.

@robbyrussell
Owner

Nice catch! ...I missed testing that because I have that auto-enabled. :-)

@robbyrussell robbyrussell merged commit ed990f6 into robbyrussell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 4, 2011
  1. Fix bug from Pull request #395

    Michael Komitee authored
        #395 broke oh-my-zsh for users who disable check-for-updates
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 3 deletions.
  1. +1 −3 oh-my-zsh.sh
View
4 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
Something went wrong with that request. Please try again.