This commit is contained in:
Mike 2016-05-13 03:23:35 +00:00
commit 2be9acb606
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,10 @@ function uninstall_oh_my_zsh() {
function upgrade_oh_my_zsh() {
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
if [ -x $ZSH/custom/tools/upgrade.sh ]
then
env ZSH=$ZSH /bin/sh $ZSH/custom/tools/upgrade.sh
fi
}
function take() {

View file

@ -14,6 +14,10 @@ function _upgrade_zsh() {
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
# update the zsh file
_update_zsh_update
if [ -x $ZSH/custom/tools/upgrade.sh ]
then
env ZSH=$ZSH /bin/sh $ZSH/custom/tools/upgrade.sh
fi
}
epoch_target=$UPDATE_ZSH_DAYS