updater: add vim plugins update

feature/improve-speed
bretello 2021-04-12 09:58:57 +02:00
parent 98604c6a4c
commit 926bb413a4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

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