1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-01-23 10:46:33 +01:00

Merge pull request #554 from toolbear/549-fix-auto-upgrade

Fix auto upgrade failure from non-exported ZSH env var
This commit is contained in:
Robby Russell
2011-10-10 05:40:38 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ then
read line
if [ "$line" = Y ] || [ "$line" = y ]
then
/bin/sh $ZSH/tools/upgrade.sh
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
fi