Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 27 lines (19 sloc) 0.504 kb
4bfa8a5 @vgod add auto-install.sh
authored
1 #!/bin/sh
2 VIMHOME=~/.vim
3
4 warn() {
5 echo "$1" >&2
6 }
7
8 die() {
9 warn "$1"
10 exit 1
11 }
12
13 [ -e "$VIMHOME/vimrc" ] && die "$VIMHOME/vimrc already exists."
14 [ -e "~/.vim" ] && die "~/.vim already exists."
15 [ -e "~/.vimrc" ] && die "~/.vimrc already exists."
16
03c2b02 @vgod update git repo path
authored
17 git clone git://github.com/vgod/vimrc.git "$VIMHOME"
4bfa8a5 @vgod add auto-install.sh
authored
18 cd "$VIMHOME"
19 git submodule update --init
20
21 ./install-vimrc.sh
22
23 cd bundle/command-t/ruby/command-t
24 (ruby extconf.rb && make) || warn "Can't compile Command-T."
25
26 echo "vgod's vimrc is installed."
Something went wrong with that request. Please try again.