Skip to content

Instantly share code, notes, and snippets.

@barberj
Last active January 3, 2016 12:06
Show Gist options
  • Save barberj/9f7f1834a89ad6c3abc6 to your computer and use it in GitHub Desktop.
Save barberj/9f7f1834a89ad6c3abc6 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -e ~/.barberianrc ]
then
echo "Already been raided."
fi
if [ ! -e ~/.barberianrc ]
then
echo "Going raiding."
brew install tmux && \
curl -Sso /usr/local/bin/pathogen_infect https://gist.githubusercontent.com/barberj/a56f02eb72c40f6bdbe1/raw/c7e5cf221e2228a7f8352905a86c3dcd3c50af23/pathogen_infect.sh && \
chmod +x /usr/local/bin/pathogen_infect && \
pathogen_infect && \
curl -Sso ~/.tmux.conf https://gist.githubusercontent.com/barberj/490af4e6d7baaff1bd56/raw/ce54a2ff31144dd94ebfb5a09657a3551f37d928/.tmux.conf && \
curl -Sso ~/.vimrc https://gist.githubusercontent.com/barberj/490af4e6d7baaff1bd56/raw/ce54a2ff31144dd94ebfb5a09657a3551f37d928/.vimrc && \
rm /usr/local/bin/pathogen_infect && \
curl -Sso /usr/local/bin/pathogen_mutate https://gist.githubusercontent.com/barberj/a56f02eb72c40f6bdbe1/raw/12efbf02faac5b346515a377e7b9e188a4ad2f0e/pathogen_mutate.sh && \
chmod +x /usr/local/bin/pathogen_mutate && \
touch ~/.barberianrc
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment