From 61f2739e38c2b4c4b418b832312f9926efff9b1e Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:45 +0100 Subject: [PATCH] fix issue that prevented update of zsh plugins --- check_for_update.sh | 3 +++ 1 file changed, 3 insertions(+) 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