skip the update check at initialization if DISABLE_AUTO_UPDATE is set to true
@@ -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