Created
January 20, 2017 13:01
-
-
Save trevordixon/f0de4efb0a1ba5db9bc37d358f646609 to your computer and use it in GitHub Desktop.
pbcopy from remote host in iTerm2
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
alias pbcopy="(printf '\033]1337;CopyToClipboard=\7'; cat -; printf '\033]1337;EndCopy\7')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment