aboutsummaryrefslogtreecommitdiff
path: root/utils/vim_bundles_update
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-01-09 08:10:11 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-01-09 08:10:11 +0100
commit95865067af8988cb81bf89352fae3961d12a4a9e (patch)
tree18fedf1e146236515f664bf9339641415cb8ff18 /utils/vim_bundles_update
parent64e557a8b97c4975c25cf5bd12fa3bb51fb38756 (diff)
downloadmyconfigs-95865067af8988cb81bf89352fae3961d12a4a9e.tar.gz
myconfigs-95865067af8988cb81bf89352fae3961d12a4a9e.tar.bz2
myconfigs-95865067af8988cb81bf89352fae3961d12a4a9e.zip
Update vim plugins
Diffstat (limited to 'utils/vim_bundles_update')
-rwxr-xr-xutils/vim_bundles_update12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/vim_bundles_update b/utils/vim_bundles_update
new file mode 100755
index 0000000..eb502c6
--- /dev/null
+++ b/utils/vim_bundles_update
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+[ -d vim/bundle ] || (echo Run in root of myconfigs only! && exit 1)
+
+for dir in vim/bundle/*; do
+ pushd $dir
+ git checkout master
+ git pull
+ git submodule update --init --recursive
+ popd
+done