/copier

Standalone clipboard utilities from Oh-My-Zsh

Primary LanguageShellMIT LicenseMIT

copier

License built for

Clipboard utilities

Description

Oh-My-Zsh clipboard utilites as a plugin.

command description
clipcopy Copy from the command line
clippaste Paste to the command line
copydir Copy the path of the current directory to the clipboard
copyfile Copy the contents of a file to the clipboard
copybuffer Copy the current command buffer to the clipboard with CTRL-o

Installation

Install with a Zsh plugin manager

To install using a Zsh plugin manager, add the following to your .zshrc

  • antidote: antidote bundle zshzoo/copier
  • zcomet: zcomet load zshzoo/copier
  • zgenom: zgenom load zshzoo/copier
  • znap: znap source zshzoo/copier

Install manually, without a plugin manager

To install manually, first clone the repo:

git clone https://github.com/zshzoo/copier ${ZDOTDIR:-~}/.zplugins/copier

Then, in your .zshrc, add the following line:

source ${ZDOTDIR:-~}/.zplugins/copier/copier.zsh