dotfiles/update.sh
2017-11-03 08:09:33 +01:00

10 lines
169 B
Bash
Executable file

#!/bin/bash
GIT_DIRS=(. ~/.bash-git-prompt ~/.vim/bundle)
for dir in ${GIT_DIRS[@]} ; do
cd $dir
git pull
cd -
done
vim -c ":PluginUpdate" -c ":q" -c ":q"