upgrade script requires ZSH environment variable to be set

This commit is contained in:
Chris Leishman 2011-08-12 14:59:40 +02:00
commit a42878dd92

View file

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