Last active
January 3, 2016 12:06
-
-
Save barberj/9f7f1834a89ad6c3abc6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/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