-
Notifications
You must be signed in to change notification settings - Fork 0
/
Linux
executable file
·45 lines (39 loc) · 1.24 KB
/
Linux
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
#!/usr/bin/env bash
if grep -q "Arch Linux" /etc/issue ; then
sudo pacman -Syy
sudo pacman -Syu --noconfirm \
ack \
docker \
docker-compose \
emacs \
htop \
jq \
tmux \
vim
# no pyenv, but bugger that - we default to Python3.5 anyway
# and aren't stuck with Python2.x on Arch.
fi
if grep -q "Ubuntu" /etc/issue ; then
sudo apt-get update
sudo apt-get install -y ack-grep
sudo apt-get install -y docker
sudo apt-get install -y docker-compose
sudo apt-get install -y docker-machine
sudo apt-get install -y emacs
sudo apt-get install -y htop
sudo apt-get install -y jq
sudo apt-get install -y sbcl
sudo apt-get install -y tmux
sudo apt-get install -y vim
sudo apt-get install -y pyenv
# pyenv post processing
if [ ! -e /Users/juys/.pyenv/plugins/pyenv-virtualenv ] ; then
mkdir -p ~/.pyenv/plugins
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
fi
fi
# TODO move this to huis-vim
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim
mkdir -p ~/.vim/bundle
git clone git://github.com/tpope/vim-fugitive.git ~/.vim/bundle/vim-fugitive