summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
index 741bad510..5b057256d 100644
--- a/oh-my-zsh.sh
+++ b/oh-my-zsh.sh
@@ -5,7 +5,9 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then
fi
# Check for updates on initial load...
-source $ZSH/tools/check_for_upgrade.sh
+if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
+ source $ZSH/tools/check_for_upgrade.sh
+fi
# Initializes Oh My Zsh