aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
blob: 2cced41d85af84f74a158e39b5c63531243e9707 (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 "Working dir: %s
" $DIR
	if [ -d "$DIR/.git" ] ; then
		cd $DIR
		git pull --ff-only origin master
	elif ! [ -d "$DIR/.git" ] ; then
		mkdir -p "$DIR"
		cd "$DIR"
		git clone --depth=1 "$URL" . ||
			git clone "$URL" .
	fi
	cd $WD
	printf ""
}
DIR="pack/plugins/start/vim-go"
URL="https://github.com/fatih/vim-go.git"
clone
DIR="pack/plugins/start/ag.vim"
URL="https://github.com/rking/ag.vim.git"
clone
DIR="pack/plugins/start/ctrlp.vim"
URL="https://github.com/ctrlpvim/ctrlp.vim"
clone
DIR="pack/plugins/start/emmet-vim"
URL="https://github.com/mattn/emmet-vim.git"
clone
DIR="pack/plugins/start/gundo"
URL="https://github.com/sjl/gundo.vim"
clone
DIR="pack/plugins/start/nerdtree"
URL="https://github.com/scrooloose/nerdtree"
clone
DIR="pack/plugins/start/vim-airline"
URL="https://github.com/vim-airline/vim-airline.git"
clone
DIR="pack/plugins/start/vim-airline-themes"
URL="https://github.com/vim-airline/vim-airline-themes/"
clone
DIR="pack/plugins/start/dracula"
URL="https://github.com/dracula/vim.git"
clone
DIR="pack/plugins/start/l9"
URL="https://git.riedstra.us/vim/vim-l9.git"
clone
DIR="pack/plugins/start/vim-autocomplpop"
URL="https://git.riedstra.us/vim/vim-autocomplpop.git"
clone
DIR="pack/themes/start/mitch"
URL="https://git.riedstra.us/vim/mitch.git"
clone
DIR="pack/themes/start/solarized"
URL="https://github.com/altercation/vim-colors-solarized"
clone
DIR="pack/themes/start/orbital"
URL="https://github.com/fcpg/vim-orbital"
clone
DIR="pack/themes/start/monotone"
URL="https://github.com/Lokaltog/vim-monotone"
clone
DIR="pack/themes/start/gruvbox"
URL="https://github.com/morhetz/gruvbox"
clone
DIR="pack/themes/start/base16-black-metal"
URL="https://github.com/metalelf0/base16-black-metal-scheme.git"
clone