-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.sh
37 lines (33 loc) · 1.4 KB
/
script.sh
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
#!/usr/bin/env bash
sudo apt update
sudo apt install build-essential -y
sudo apt install strace -y
apt-get install -y vim
apt-get install -y tmux
apt-get install -y git
apt-get install -y apache2 apache2-doc apache2-utils
apt-get install -y clang-format
mkdir -p /home/vagrant/.vim/autoload /home/vagrant/.vim/bundle
cd /home/vagrant/.vim/autoload
wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim > /dev/null 2>&1
cd /home/vagrant/.vim
wget https://raw.githubusercontent.com/Honpray/Vagrantlife/master/vimrc > /dev/null 2>&1
if [ ! -d /home/vagrant/.vim/bundle/vim-autoclose ];
then
cd /home/vagrant/.vim/bundle
git clone https://github.com/jiangmiao/auto-pairs
git clone https://github.com/alvan/vim-closetag
git clone https://github.com/junegunn/vim-easy-align
git clone https://github.com/yggdroot/indentline
git clone https://github.com/kchmck/vim-coffee-script
git clone https://github.com/anyakichi/vim-surround
git clone https://github.com/ervandew/supertab
git clone https://github.com/ddollar/nerdcommenter
git clone https://github.com/briancollins/vim-jst
git clone https://github.com/kien/ctrlp.vim
git clone git://github.com/tpope/vim-vinegar.git
git clone https://github.com/rstacruz/sparkup
git clone https://github.com/pangloss/vim-javascript
git clone https://github.com/WolfgangMehner/lua-support
git clone https://github.com/octol/vim-cpp-enhanced-highlight
fi