1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-24 17:00:47 +00:00

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

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() {