Created
October 31, 2013 09:24
-
-
Save pjaspers/7246746 to your computer and use it in GitHub Desktop.
Quick way to get a public key into your clipboard.
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
# Takes a Github Username and copies his/her public key | |
# | |
# ghkey pjaspers | |
# | |
function ghkey { | |
if (( $# < 1 )) | |
then echo "usage: ghkey <username>"; return 1; fi | |
curl -sL https://github.com/$1.keys | pbcopy | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment