Last active
February 28, 2018 06:27
-
-
Save jda0/f778c56ee586b974d3db3ead4238d45c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt install curl wget git zip unzip -y | |
echo "Install all developer tools?" | |
select yn in "Yes" "No"; do | |
case $yn in | |
Yes ) sudo apt install -y build-essential cmake python-dev python3-dev golang-go nodejs | |
sudo npm install -g typescript | |
curl https://sh.rustup.rs -sSf | sh | |
break;; | |
No ) break;; | |
esac | |
done | |
git clone https://github.com/github/hub.git && cd hub | |
sudo mkdir /usr/local/bin && sudo /usr/bin/env bash script/build -o /usr/local/bin/hub | |
cd .. && rm -rf ./hub | |
curl https://gist.github.com/jda0/30666bf1f397c078e9ae2bf381c967a7/raw/dd65f8feea039420f49421d37c3bcda9d640fcab/.vimrc -o ~/.vimrc | |
curl https://gist.github.com/jda0/831bce600100fd935b2e2ae66a728fbe/raw/6425d08cd4794c22553ad444edbb98b6115a6960/.bashrc -o ~/.bashrc | |
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim | |
vim +PluginInstall +qall | |
vim +PromptlineSnapshot ~/.shell_prompt.sh | |
cd $HOME/.vim/bundle/youcompleteme | |
./install.py --clang-completer --gocode-completer --tern-completer --racer-completer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment