File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/env sh
2
+
3
+ warn () {
4
+ echo " $1 " >&2
5
+ }
6
+
7
+ die () {
8
+ warn " $1 "
9
+ exit 1
10
+ }
11
+
2
12
echo " thanks for installing spf13-vim\n"
13
+
14
+ # Backup existing .vim stuff
3
15
echo " backing up current vim config\n"
4
16
for i in ~ /.vim ~ /.vimrc ~ /.gvimrc; do [ -e $i ] && mv $i $i .old; done
17
+
18
+
5
19
echo " cloning spf13-vim\n"
6
20
git clone --recursive git://github.com/spf13/spf13-vim.git ~ /.spf13-vim
7
21
ln -s ~ /.spf13-vim/.vimrc ~ /.vimrc
8
22
ln -s ~ /.spf13-vim/.vim ~ /.vim
23
+
24
+
25
+ # Build command-t for your system
9
26
echo " building command-t executable\n"
10
27
echo " command-t depends on ruby and rake to be present\n"
11
28
cd ~ /.vim/bundle/command-t
12
- rake make
29
+ (ruby extconf.rb && make clean && make) || warn " Ruby compilation failed. Ruby not installed, maybe? "
You can’t perform that action at this time.
0 commit comments