- ZSH >= 4.3.0
antigen bundle twang817/zsh-clipboard
zgen load twang817/zsh-clipboard
antibody bundle twang817/zsh-clipboard
System clipboard integration
This file has support for doing system clipboard copy and paste operations from the command line in a generic cross-platform fashion.
On OS X and Windows, the main system clipboard or "pasteboard" is used. On other Unix-like OSes, this considers the X Windows CLIPBOARD selection to be the "system clipboard", and the X Windows
xclip command must be installed.
clipcopy - Copy data to clipboard
<command> | clipcopy - copies stdin to clipboard clicopy <file> - copies a file's contents to clipboard
clippaste - "Paste" data from clipboard to stdout
clippaste - writes clipboard's contents to stdout clippaste | <command> - pastes contents and pipes it to another process clippaste > <file> - paste contents to a file