Last active
August 1, 2016 09:03
-
-
Save cGuille/5b20d6d04e2004709684aa6d3086f946 to your computer and use it in GitHub Desktop.
Copy and paste data from/to your clipboard in Bash
This file contains hidden or 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
| # Copy from standard input into the clipboard. | |
| alias copy='xsel --clipboard --input' | |
| # Dump clipboard content to the standard output. | |
| # Called `pasta` and not `paste` because `paste` already exists and can be useful. | |
| alias pasta='xsel --clipboard --output' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment