dotfiles/update.sh

11 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"