mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 20:41:31 +01:00
updater: add vim plugins update
This commit is contained in:
parent
98604c6a4c
commit
926bb413a4
|
@ -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…
Reference in New Issue
Block a user