Skip to content

Instantly share code, notes, and snippets.

@adampash
Created December 11, 2013 16:26
Show Gist options
  • Save adampash/7913599 to your computer and use it in GitHub Desktop.
Save adampash/7913599 to your computer and use it in GitHub Desktop.
Bash/ZSH function for copying a file to the clipboard
copy () {
cat "$@" | pbcopy;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment