Fix upgrade and uninstall functions to pick up $ZSH value
| ... | ... |
@@ -3,11 +3,11 @@ function zsh_stats() {
|
| 3 | 3 |
} |
| 4 | 4 |
|
| 5 | 5 |
function uninstall_oh_my_zsh() {
|
| 6 |
- /bin/sh $ZSH/tools/uninstall.sh |
|
| 6 |
+ /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh |
|
| 7 | 7 |
} |
| 8 | 8 |
|
| 9 | 9 |
function upgrade_oh_my_zsh() {
|
| 10 |
- /bin/sh $ZSH/tools/upgrade.sh |
|
| 10 |
+ /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh |
|
| 11 | 11 |
} |
| 12 | 12 |
|
| 13 | 13 |
function take() {
|