update-bundles is a quick-and-dirty hack to update
pathogen-managed vim
plugins.
update-bundles
works by descending into the subdirectories of
$HOME/.vim/bundle
, testing to see if they are git
or hg
repos,
and—if they are—pulling in the latest updates.
It's a shell script. Just put it somewhere and chmod
it.
$ ./update-bundles.sh
That's it; nothing fancy here. I told you was a quick-and-dirty hack.
NOTE: It expects you to have your bundles in the traditional
$HOME/.vim/bundle
directory.
- Parameterize the script:
- Allow overriding the bundle directory
- Add a verbose mode that provides some feedback
- Add a really verbose mode that also passes through the output from the various VCS commands