Skip to content
Find file
03c2b02 Aug 13, 2011
executable file 27 lines (19 sloc) 504 Bytes
#!/bin/sh
VIMHOME=~/.vim
warn() {
echo "$1" >&2
}
die() {
warn "$1"
exit 1
}
[ -e "$VIMHOME/vimrc" ] && die "$VIMHOME/vimrc already exists."
[ -e "~/.vim" ] && die "~/.vim already exists."
[ -e "~/.vimrc" ] && die "~/.vimrc already exists."
git clone git://github.com/vgod/vimrc.git "$VIMHOME"
cd "$VIMHOME"
git submodule update --init
./install-vimrc.sh
cd bundle/command-t/ruby/command-t
(ruby extconf.rb && make) || warn "Can't compile Command-T."
echo "vgod's vimrc is installed."
Something went wrong with that request. Please try again.