Last active
March 28, 2019 10:31
-
-
Save matsen/0faec105608f1703056564a3d360a156 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
#!/bin/sh | |
set -e | |
set -o | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y \ | |
autojump \ | |
build-essential \ | |
clang \ | |
curl \ | |
fonts-mathjax \ | |
file \ | |
git \ | |
htop \ | |
imagemagick \ | |
inkscape \ | |
inotify-tools \ | |
keychain \ | |
man-db \ | |
pandoc \ | |
parallel \ | |
ruby-dev \ | |
silversearcher-ag \ | |
texlive-fonts-extra \ | |
texlive-latex-extra \ | |
texlive-science \ | |
tmux \ | |
tree \ | |
vim-nox \ | |
wget \ | |
xdot \ | |
xvfb \ | |
zsh | |
# vim packages | |
mkdir -p ~/.vim ~/.vim/tmp ~/.vim/autoload ~/.vim/pack/foo/start; \ | |
cd ~/.vim/pack/foo/start | |
while read PKG | |
do | |
git clone git://github.com/$PKG | |
done <<PATHOGENLIST | |
altercation/vim-colors-solarized | |
mattn/gist-vim | |
mindriot101/vim-yapf | |
scrooloose/syntastic | |
sjl/tslime.vim | |
tpope/vim-fugitive | |
tpope/vim-git | |
tpope/vim-markdown | |
tpope/vim-vinegar | |
Valloric/YouCompleteMe | |
zefei/cake16 | |
PATHOGENLIST | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
sudo gem install jekyll | |
# SSH key | |
ssh-keygen | |
cat ~/.ssh/id_rsa.pub | |
ssh-keygen -f ~/.ssh/id_rsa.pub -m 'PEM' -e > ~/.ssh/id_rsa.pem | |
echo "Upload key to github and copy .pem file into mosh client..." | |
read | |
to be happy: eval $(keychain --eval id_rsa) && tmux | |
# set up various dotfiles, etc | |
cd ~ | |
chsh matsen -s `which zsh` | |
git config --global github.user matsen | |
git clone [email protected]:matsen/etc.git | |
cd ~/etc/ | |
./symlink_it.sh | |
echo "Now go install YouCompleteMe and conda, for real." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment