Skip to content

Instantly share code, notes, and snippets.

@matsen
Last active March 28, 2019 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matsen/0faec105608f1703056564a3d360a156 to your computer and use it in GitHub Desktop.
Save matsen/0faec105608f1703056564a3d360a156 to your computer and use it in GitHub Desktop.
#!/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 git@github.com: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