dotfiles/install-vim.sh
2012-02-19 15:16:15 -05:00

16 lines
382 B
Bash
Executable file

#!/bin/bash
DOTVIM=~/.vim
rm -r $DOTVIM
mkdir $DOTVIM
OWNERS=( "tomtom" "scrooloose" "msanders" "ervandew" )
REPOS=( "checksyntax_vim" "nerdtree" "snipmate.vim" "supertab" )
for (( i = 0 ; i < ${#OWNERS[@]} ; i++ ))
do
git clone git://github.com/${OWNERS[$i]}/${REPOS[$i]}.git /tmp/${REPOS[$i]}
cp -R /tmp/${REPOS[$i]}/* $DOTVIM
rm -rf /tmp/${REPOS[$i]}
done