-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_setup.sh
More file actions
executable file
·45 lines (30 loc) · 1.17 KB
/
make_setup.sh
File metadata and controls
executable file
·45 lines (30 loc) · 1.17 KB
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
#!/bin/bash
LINUXCONF="$HOME/.linuxconf"
# check if directory exists
if [ ! -d "$LINUXCONF" ]; then
sudo apt update
sudo apt install --yes \
vim \
git \
build-essential \
tmux \
zsh
sh -c "RUNZSH=no $(wget -O- https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s "$(command -v zsh)" "$(USER)"
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
git clone git://github.com/gradle/gradle-completion
git clone https://github.com/esc/conda-zsh-completion ~/.zsh/conda-zsh-completion
git clone https://github.com/jonmosco/kube-tmux.git ~/.tmux/kube-tmux
mkdir -p ~/.vim/colors
wget https://raw.githubusercontent.com/blueshirts/darcula/master/colors/darcula.vim -O ~/.vim/colors/darcula.vim
# kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
echo cloning github.com/walhava/linuxconf to "$LINUXCONF"
git clone https://github.com/walhava/linuxconf.git "$LINUXCONF"
else
echo updating linux conf
fi
cd "$LINUXCONF" || exit 1
git pull
./update_linux_conf.sh