From 6b53682f1f59b1591b6c76f8dad1ce9c32e697f9 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Mon, 8 Aug 2011 10:18:58 +1000 Subject: [PATCH] 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. --- oh-my-zsh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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