Skip to content

Instantly share code, notes, and snippets.

@peterlozano
Created November 22, 2018 11:51
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 peterlozano/6a03bd5e028258bff3e0c5d9d97ef715 to your computer and use it in GitHub Desktop.
Save peterlozano/6a03bd5e028258bff3e0c5d9d97ef715 to your computer and use it in GitHub Desktop.
Bash aliases to copy/paste using Piknik

Install and configure https://github.com/jedisct1/piknik

Host ips need to be static or have a dns.

Add the bash aliases (either mac or linux) for easy copy/paste directly from clipboard to Piknik.

alias psend='xclip -o | piknik -copy'
alias pget='piknik -paste | xclip -i -selection c'
alias psend='pbpaste | piknik -copy'
alias pget='piknik -paste | pbcopy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment