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