diff --git a/check_for_update.sh b/check_for_update.sh index 335019a..a330191 100755 --- a/check_for_update.sh +++ b/check_for_update.sh @@ -15,6 +15,9 @@ function _update_dotfiles_update() { } function _upgrade_dotfiles() { + if [ -z $ZSH ]; then + ZSH="$HOME/.oh-my-zsh" # TODO: this is hard-coded, find a better way to do this + fi (cd $DOTFILES; git pull -q --rebase && echo "Succesfully upgraded dotfiles" || echo "Could not upgrade dotfiles.") # amix's vimrc update amix_vimrc=$HOME/.vim_runtime