Skip to content

Instantly share code, notes, and snippets.

@bitaxis
Created November 29, 2011 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitaxis/1406229 to your computer and use it in GitHub Desktop.
Save bitaxis/1406229 to your computer and use it in GitHub Desktop.
Update vim/bundles (per github.com/tpope/vim-pathogen)
#!/usr/bin/env python
import os
import os.path
for item in os.listdir('.'):
if not os.path.isdir(item): continue
os.chdir(item)
try:
print 'Updating "%s"...' % item
os.system('git pull')
finally:
os.chdir('..')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment