pass DISABLE_UPDATE_PROMPT to check_for_upgrade.sh

This commit is contained in:
Trevor Wennblom 2012-02-06 20:16:41 -06:00
parent 362927003b
commit 005d967dc4

View File

@ -1,7 +1,7 @@
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]
then
/usr/bin/env ZSH=$ZSH zsh $ZSH/tools/check_for_upgrade.sh
/usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh $ZSH/tools/check_for_upgrade.sh
fi
# Initializes Oh My Zsh