Created
August 29, 2013 02:52
-
-
Save eckdanny/6373760 to your computer and use it in GitHub Desktop.
to install, just paste into your ~/.bashrc file. Then open a new terminal (or source ~/.bashrc), create a directory, and run with `bobstrap` and you'll be all setup!
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
bobstrap() { | |
# CONFIG | |
GIT_USERNAME='thebobg' | |
GIT_REPONAME='bobStrap' | |
GIT_BRANCH='master' | |
# Stop Editing Below Here | |
curl -L -s -o /tmp/"$GIT_REPONAME".tar.gz https://api.github.com/repos/"$GIT_USERNAME"/"$GIT_REPONAME"/tarball/"$GIT_BRANCH" | |
tar -xf /tmp/"$GIT_REPONAME".tar.gz --strip 1 --exclude '*\.md' -C $(pwd) && rm /tmp/"$GIT_REPONAME".tar.gz | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment