dotfiles/script/updatevimplugins

15 lines
286 B
Plaintext
Executable File

#/usr/bin/env bash
set -e
pluginhome=$HOME/.vim/pack/git-plugins
cd $pluginhome
find . -mindepth 2 -maxdepth 2 -type d -print0 | while read -d $'\0' pluginpath
do
cd $pluginpath
basename=$(basename $pluginpath)
printf "In $basename.. "
git pull --rebase
cd $pluginhome
done