-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·51 lines (42 loc) · 1.79 KB
/
setup.sh
File metadata and controls
executable file
·51 lines (42 loc) · 1.79 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
46
47
48
49
50
51
set -x
set -e
sudo apt-get update
# Common packages
sudo apt install -y apt-transport-https lsb-release dirmngr
# Repositories
# Azure
# echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" | \
# sudo tee /etc/apt/sources.list.d/azure-cli.list
# sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg adv --keyserver packages.microsoft.com \
#--recv-keys BC528686B50D79E339D3721CEB3E94ADBE1229CF
# Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
# k8s Packages
sudo apt install -y apt-transport-https ca-certificates software-properties-common curl
sudo apt install -y docker-ce
sudo apt install -y tmux
# Go
sudo apt-get install -y python3-dev python3-pip
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install -y neovim
pip3 install --user pynvim
pip3 install --user neovim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mkdir -p ~/.vim/colors
echo "====== Update neovimrc link to vimrc ======="
# Repos
git config --global user.email "bebroder@microsoft.com"
git config --global user.name "Ben Broderick Phillips"
git config --global core.editor vim
git config --global core.autocrlf input
# Dotfiles
wget https://raw.githubusercontent.com/benbp/dotfiles/master/.inputrc -O ~/.inputrc
wget https://raw.githubusercontent.com/benbp/dotfiles/master/.bashrc -O ~/.bashrc
wget https://raw.githubusercontent.com/benbp/dotfiles/master/.vimrc -O ~/.vimrc
wget https://raw.githubusercontent.com/benbp/dotfiles/master/.tmux.conf -O ~/.tmux.conf
# neovim setup
npm install -g neovim
# Do all coc.vim installs