You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zsh clipboard plugin that adds cross-platform helper functions to access the system clipboard. Works on macOS, X11 (and Wayland), Cygwin, MSYS2, and WSL (1 and 2).
pbcopy - pipe something to this function, e.g. echo Hello world | pbcopy, and it will be copied to system clipboard.
pbpaste - show the contents of the system clipboard, e.g. pbpaste | grep Hello.
clip - a wrapper around the two previous functions. If you do not pipe something to it, the function will show the clipboard contents; otherwise, it will copy something to the clipboard.
Add antigen bundle zpm-zsh/clipboard to the part of your .zshrc where you add your other plugins. Antigen will clone clipboard for you and add it to your antigen setup the next time you start a new shell.
For most people the easiest way to use zpm-zsh/clipboard with prezto is to manually clone the zpm-zsh/clipboard repo to a directory of your choice and symlink the /clipboard folder into your zpretzo/modules folder: