summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-12-26 10:04:59 -0800
committerRobby Russell <robby@planetargon.com>2011-12-26 10:04:59 -0800
commit2b86624951d8145fbac2c790ff1f8c25f7490a94 (patch)
tree372c7e82c54287031061d13831fe5efee8383ae9 /lib/functions.zsh
parent723372a103170f8c220da4d39179385711a8dc1e (diff)
parent0b583638ae7bc58928b77669919600e27f4738b0 (diff)
downloadzsh-2b86624951d8145fbac2c790ff1f8c25f7490a94.tar.gz
zsh-2b86624951d8145fbac2c790ff1f8c25f7490a94.tar.bz2
zsh-2b86624951d8145fbac2c790ff1f8c25f7490a94.zip
Merge pull request #772 from indrajitr/master
Fix upgrade and uninstall functions to pick up $ZSH value
Diffstat (limited to 'lib/functions.zsh')
-rw-r--r--lib/functions.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index ef7cc6383..d2dcadd0c 100644
--- a/lib/functions.zsh
+++ b/lib/functions.zsh
@@ -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() {