Browse Source

updater: add vim plugins update

feature/improve-speed
bretello 8 months ago
parent
commit
926bb413a4
Signed by: brethil GPG Key ID: 876AAC6290170FE7
  1. 3
      check_for_update.sh

3
check_for_update.sh

@ -25,12 +25,13 @@ function current_epoch() {
}
function _update_dotfiles_update() {
echo "LAST_EPOCH=$(current_epoch)" >! "${DOTFILES}/.dotfiles-update"
echo "LAST_EPOCH=$(current_epoch)" >! "${DOTFILES_UPDATEFILE}"
}
function update_dotfiles() {
(cd $DOTFILES; git pull -q --rebase && echo "Succesfully upgraded dotfiles" || echo "Could not upgrade dotfiles.")
antibody update
vim -c 'PlugUpdate|PlugClean|qa!'
# update the zsh file
_update_dotfiles_update
}

Loading…
Cancel
Save