Skip to content
copy of clipboard plugin in oh-my-zsh
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
clipboard.plugin.zsh

README.md

zsh-clipboard

This is a copy of the clipboard library from oh-my-zsh, packaged as a zsh plugin to be used with your favorite zsh plugin manager.

Requirements

Install

antigen

antigen bundle twang817/zsh-clipboard

zgen

zgen load twang817/zsh-clipboard

antibody

antibody bundle twang817/zsh-clipboard

Usage

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
You can’t perform that action at this time.