Skip to content

Instantly share code, notes, and snippets.

@marty-Wallace
Created March 15, 2017 17:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marty-Wallace/6e488ff1207b99e784088c3e877f5a51 to your computer and use it in GitHub Desktop.
Save marty-Wallace/6e488ff1207b99e784088c3e877f5a51 to your computer and use it in GitHub Desktop.
bash aliases for copy and paste with Xclip
#copies the piped input onto the clipboard
alias copy="xclip -selection c"
#pastes the clipboards contents into the terminal
alias paste="xclip -selection clipboard -o"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment