Skip to content

Instantly share code, notes, and snippets.

@vladimiroff
Forked from AndrewRadev/bundle_updater_for_vim
Created December 29, 2011 22:13
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 vladimiroff/1536438 to your computer and use it in GitHub Desktop.
Save vladimiroff/1536438 to your computer and use it in GitHub Desktop.
Handy shell script for keeping my bundles in vim up-to date
cd $HOME/.vim/
git submodule sync
git submodule foreach --recursive "git checkout master; git pull origin master; echo"
@vladimiroff
Copy link
Author

Защото не знаех, за тази опция на git submodule :)
Така ще е далеч по-чисто.

Благодаря ти и за много години :)

Update: Идеално. Сега с --recursive "рови" и по-надълбоко.
Полезно ми е за vim-pyflakes, който взема pyflakes от неговото си репо, точно като събмодул.

@AndrewRadev
Copy link

Nice. Жалко, че май не можеш да пускаш pull request-и на gist-ове :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment