Skip to content

Instantly share code, notes, and snippets.

@bbuck
Last active August 29, 2015 13:56
Show Gist options
  • Save bbuck/9279066 to your computer and use it in GitHub Desktop.
Save bbuck/9279066 to your computer and use it in GitHub Desktop.
function pbgist {
if [ $1 == "-p" ]; then
gist -pP -f $2 | pbcopy
else
gist -P -f $1 | pbcopy
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment