Commit 2b866249 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #772 from indrajitr/master

Fix upgrade and uninstall functions to pick up $ZSH value
parents 723372a1 0b583638
...@@ -3,11 +3,11 @@ function zsh_stats() { ...@@ -3,11 +3,11 @@ function zsh_stats() {
} }
function uninstall_oh_my_zsh() { 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() { function upgrade_oh_my_zsh() {
/bin/sh $ZSH/tools/upgrade.sh /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
} }
function take() { function take() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment