-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsteps
executable file
·77 lines (63 loc) · 2.07 KB
/
steps
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
71
72
73
74
75
76
77
#!/bin/bash
# Copy and run this file from $HOME
#
# Get this by running:
#
# git clone https://github.com/jcgregorio/home.git jcgregorio
sudo apt update
sudo apt upgrade
sudo apt install git curl ncurses-term screen ncurses-dev \
mercurial python python-dev build-essential cmake \
bash-completion
git config --global user.email "joe@bitworking.org"
git config --global user.name "Joe Gregorio"
mkdir ~/bin
mkdir ~/golib
mkdir --parents ~/.vim/tmp/backup
mkdir --parents ~/.vim/tmp/swap
rm ~/.vimrc
ln -s $HOME/jcgregorio/vim/vimrc ~/.vimrc
echo "source $HOME/jcgregorio/bashrc" >> ~/.bashrc
source ~/.bashrc
echo "source-file $HOME/jcgregorio/tmux.conf" >> ~/.tmux.conf
# Install go
cd ~
GOVER=go1.7.3.linux-amd64.tar.gz
wget https://storage.googleapis.com/golang/$GOVER
tar -xzf $GOVER
#Install latest vim
cd ~
mkdir src
cd src
git clone https://github.com/vim/vim.git
cd vim/src
./configure --with-features=huge --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
make
sudo make install
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
cd ~/.vim/bundle
git clone https://github.com/scrooloose/syntastic.git
git clone https://github.com/SirVer/ultisnips.git
git clone https://github.com/honza/vim-snippets.git
git clone https://github.com/fatih/vim-go.git
git clone https://github.com/Valloric/YouCompleteMe.git
git clone https://github.com/othree/html5.vim
git clone git://github.com/tpope/vim-fugitive.git
git clone https://github.com/GutenYe/json5.vim
git clone https://github.com/pangloss/vim-javascript.git
git clone https://github.com/jonsmithers/vim-html-template-literals.git
cd YouCompleteMe
git submodule update --init --recursive
./install..py --gocode-completer
go get golang.org/x/tools/cmd/goimports
go get -u github.com/nsf/gocode
cd $GOPATH/src/github.com/nsf/gocode/vim
./update.sh
# Install depot_tools
cd
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
# Install cloud tools.
# curl https://sdk.cloud.google.com | bash
# Test 256 colors
perl ~/jcgregorio/256colors2.pl