Skip to content

Instantly share code, notes, and snippets.

@GeneralD
Created February 20, 2018 02:15
Show Gist options
  • Save GeneralD/dfbb79b5ede4fab3b5128c251e8a0c86 to your computer and use it in GitHub Desktop.
Save GeneralD/dfbb79b5ede4fab3b5128c251e8a0c86 to your computer and use it in GitHub Desktop.
zle-pbcopy-buffer(){ echo -n ${(z)BUFFER} | pbcopy }
zle -N zle-pbcopy-buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment