aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
blob: a980c14adf0e038694c9017cae251c3ffb57df24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/sh

WD="$(pwd)"

clone() {
	printf "\033[0mWorking dir: \033[1;34m%s\033[0;33m\n" $DIR
	if [ -d "$DIR" ] ; then
		cd $DIR
		git pull --ff-only origin master
	elif ! [ -d "$DIR" ] ; then
		mkdir -p "$DIR"
		cd "$DIR"
		git clone --depth=1 "$URL" .
	fi
	cd $WD
}
DIR="themes/solarized"
URL="https://github.com/altercation/vim-colors-solarized.git"
clone
DIR="themes/vim-colors-penultimate"
URL="https://github.com/ivan-cukic/vim-colors-penultimate"
clone
DIR="themes/vim-256noir"
URL="https://git.riedstra.us/mitch/vim-256noir.git"
clone
DIR="bundle/typescript-syntax"
URL="https://github.com/leafgarland/typescript-vim"
clone
DIR="bundle/jinja2-syntax"
URL="https://github.com/Glench/Vim-Jinja2-Syntax.git"
clone
DIR="bundle/vim-airline"
URL="https://github.com/vim-airline/vim-airline.git"
clone
DIR="bundle/php.vim"
URL="https://github.com/StanAngeloff/php.vim.git"
clone
DIR="bundle/vim-l9"
URL="https://git.riedstra.us/mitch/vim-l9.git"
clone
DIR="bundle/nerdtree"
URL="https://github.com/scrooloose/nerdtree.git"
clone
DIR="bundle/vim-autocomplpop"
URL="https://git.riedstra.us/mitch/vim-autocomplpop.git"
clone
DIR="bundle/vim-go"
URL="https://github.com/fatih/vim-go.git"
clone
DIR="bundle/ag.vim"
URL="https://github.com/rking/ag.vim.git"
clone
DIR="bundle/tagbar"
URL="git://github.com/majutsushi/tagbar"
clone
DIR="bundle/nginx-vim-syntax"
URL="https://git.riedstra.us/mitch/nginx-vim-syntax.git"
clone
DIR="bundle/ctrlp.vim"
URL="https://github.com/ctrlpvim/ctrlp.vim"
clone
DIR="bundle/gundo.vim"
URL="https://github.com/sjl/gundo.vim.git"
clone
DIR="bundle/vim-distinguished"
URL="https://github.com/Lokaltog/vim-distinguished.git"
clone
DIR="bundle/emmet-vim"
URL="https://github.com/mattn/emmet-vim.git"
clone