Because I don't have my whole .vim directory under version control I usually do something like this to update my bundles.
for i in `ls`; do
you can also use the command
git submodule foreach git pull origin master
@telemachus I know of the ls pitfalls but in that case it seems okay because the directory names are usually sane. ;-)
@rkrdo But that does only work if you have your whole directory under git control which is not the case here.
@jan0sch true, that command is when you use submodules :p
Thanks man! Updating my vim plugins was always so tedious!
@klvtz Thanks, meanwhile I use a script for that (http://makandracards.com/jan0sch/15473-script-to-update-vim-pathogen-and-bundles).
for i in ~/.vim/bundle/*; do git -C $i pull; done
@frankbe Very nice one. :-)
do NOT parse output of ls, that's what globs are for. http://mywiki.wooledge.org/BashPitfalls#for_i_in_.24.28ls_.2A.mp3.29