Fix auto upgrade failure from non-exported ZSH env var

Fixes #549. Specify ZSH=$ZSH explicitly when invoking
the auto update scripts.
This commit is contained in:
Tim Taylor committed 2011-08-17 00:36:27 -04:00
1 parent 9f46eafae0
commit c113e88c45
2 files changed
+2 -2

No files matched your search

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