Merge pull request #772 from indrajitr/master

Fix upgrade and uninstall functions to pick up $ZSH value
This commit is contained in:
Robby Russell 2011-12-26 10:04:59 -08:00
commit 2b86624951
1 changed files with 2 additions and 2 deletions

View File

@ -3,11 +3,11 @@ function zsh_stats() {
}
function uninstall_oh_my_zsh() {
/bin/sh $ZSH/tools/uninstall.sh
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh
}
function upgrade_oh_my_zsh() {
/bin/sh $ZSH/tools/upgrade.sh
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
}
function take() {