Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@trevordixon
Created January 20, 2017 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trevordixon/f0de4efb0a1ba5db9bc37d358f646609 to your computer and use it in GitHub Desktop.
Save trevordixon/f0de4efb0a1ba5db9bc37d358f646609 to your computer and use it in GitHub Desktop.
pbcopy from remote host in iTerm2
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