Skip to content

Instantly share code, notes, and snippets.

@trq
Last active August 24, 2016 07:16
Show Gist options
  • Save trq/4e9950dc14d665da4d416b64bdbdbf25 to your computer and use it in GitHub Desktop.
Save trq/4e9950dc14d665da4d416b64bdbdbf25 to your computer and use it in GitHub Desktop.
#!/bin/bash
current=$PWD
cd $HOME
sudo apt-get install zsh
chsh -s /bin/zsh $USER
wget https://thoughtbot.github.io/rcm/debs/rcm_1.3.0-1_all.deb
sha=$(sha256sum rcm_1.3.0-1_all.deb | cut -f1 -d' ')
[ "$sha" = "2e95bbc23da4a0b995ec4757e0920197f4c92357214a65fedaf24274cda6806d" ] && \
sudo dpkg -i rcm_1.3.0-1_all.deb
mkdir -p src/{thoughtbot,trq,utils}
git clone https://github.com/zsh-users/antigen.git src/utils/antigen
git clone git@github.com:thoughtbot/dotfiles.git src/thoughtbot/dotfiles
git clone -b 2015-linux git@github.com:trq/dotfiles.git src/trq/dotfiles
rcup -d src/trq/dotfiles -d src/thoughtbot/dotfiles
cd $current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment