Create a gist now

Instantly share code, notes, and snippets.

A script that pulls my bash profile from gists stored on github
#!/bin/bash
#Usage: Execute the following command:
<<COMMENT1
curl -L https://gist.github.com/spuder/11360474/raw/ | bash -x
COMMENT1
#Once this file has been executed once, you can pull the latest updates with 'bashupdate'
curl -L https://gist.github.com/spuder/11360447/raw/ > ~/.bash_profile
curl -L https://gist.github.com/spuder/730226a73e45f5d3cff5/raw/ > ~/.bash_ps1
# The url's are derived from clicking the <> button on github, then truncating everything after /raw/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment