Skip to content
Newer
Older
100755 35 lines (27 sloc) 547 Bytes
52f6347 @sontek created an installer
sontek authored
1 #!/usr/bin/env bash
be788dd @HubLot Update install script
authored
2
94a77d7 @sontek added an install that knows about vim
sontek authored
3 function link_file {
4 source="${PWD}/$1"
5 target="${HOME}/${1/_/.}"
6
7 if [ -e "${target}" ]; then
8 mv $target $target.bak
9 fi
10
11 ln -sf ${source} ${target}
12 }
13
14 if [ "$1" = "vim" ]; then
15 for i in _vim*
16 do
17 link_file $i
18 done
19 else
20 for i in _*
21 do
22 link_file $i
23 done
24 fi
621225f @sontek added ropevim support and some utility methods to vimrc
sontek authored
25
3667d51 @HubLot Personnal files again
authored
26 #Vim Plugins
be788dd @HubLot Update install script
authored
27
204c475 @sontek updated install.sh to run git submodule commands
sontek authored
28 git submodule sync
29 git submodule init
b53a4b2 @sontek cleaned up whitespace
sontek authored
30 git submodule update
204c475 @sontek updated install.sh to run git submodule commands
sontek authored
31 git submodule foreach git pull origin master
99935dd @HubLot Clean _vim folder and add pathogen to submodules
authored
32 git submodule foreach git submodule init
33 git submodule foreach git submodule update
204c475 @sontek updated install.sh to run git submodule commands
sontek authored
34
Something went wrong with that request. Please try again.