Created
December 13, 2013 06:24
-
-
Save doug/7940500 to your computer and use it in GitHub Desktop.
Curl download extract and expand a gist. Useful for bootstrapping.
This file contains 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
function getgist() { | |
curl -0 $1/download | tar -xz | |
set -- gist* | |
mv $1/* . | |
rmdir $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment