To make sure that /Users/andrew/.oh-my-zsh is set correcrly when launching the check_for_upgrade script, pass the value in to env.

This commit is contained in:
Andrew Smith 2011-08-08 10:18:58 +10:00
commit 6b53682f1f

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