Fix upgrade and uninstall functions to pick up $ZSH value

This commit is contained in:
Indrajit Raychaudhuri 2011-12-11 20:27:35 +05:30
parent 54f17588b3
commit 0b583638ae
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() {