diff options
author | Tim Taylor <tim@tool-man.org> | 2011-08-17 00:17:21 -0400 |
---|---|---|
committer | Tim Taylor <tim@tool-man.org> | 2011-08-17 00:36:27 -0400 |
commit | c113e88c454cf759078f06c95f4b35db90acb9d7 (patch) | |
tree | cc77e101306e0bde1fef88172bddc1e2400317ca /oh-my-zsh.sh | |
parent | 9f46eafae0bed7df50a0004fca5d25539425ff85 (diff) | |
download | zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.tar.gz zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.tar.bz2 zsh-c113e88c454cf759078f06c95f4b35db90acb9d7.zip |
Fix auto upgrade failure from non-exported ZSH env var
Fixes #549. Specify ZSH=$ZSH explicitly when invoking
the auto update scripts.
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index c4522491b..f77762815 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -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 |