fix issue that prevented update of zsh plugins

whole-command-tab-completion
bretello 2020-02-14 16:37:45 +01:00
parent 6210b04400
commit 61f2739e38
1 changed files with 3 additions and 0 deletions

View File

@ -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