Replace /usr/bin/env with env

Some environments (such as Android) does not have /usr/bin.
This commit is contained in:
Fredrik Fornwall 2014-08-20 23:52:05 +02:00 committed by Benjamin Bach
commit 0abd191230
4 changed files with 7 additions and 7 deletions

View file

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