Skip to content
/ cb Public

πŸ“‹ Clipboard managers warper written in POSIX sh (mirror)

License

Notifications You must be signed in to change notification settings

NNBnh/cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

cb

Clipboard managers warper written in POSIX sh

πŸ’‘ About

cb is a clipboard managers warper written in POSIX sh that wraps various system-specific tools for interacting with a system clipboard. This is literally a port of clipboard.zsh plugin from Oh My Zsh as a stand alone utility.

✨ Features

πŸ“₯ Installation

πŸ”§ Manually

curl https://codeberg.org/NNB/cb/raw/branch/main/bin/cb > ~/.local/bin/cb
chmod +x ~/.local/bin/cb

πŸ“¦ Package manager

For Bpkg user:

bpkg install NNBnh/cb

For Basher user:

basher install NNBnh/cb

Note If you can and want to port cb to other package managers, feel free to do so.

⌨️ Usage

Copy STRING to clipboard:

cb STRING
echo STRING | cb

Copy file's data to clipboard:

cb < file.txt

Paste from clipboard:

cb

Pipe clipboard string to other tool:

cb | other-tool

πŸ’Œ Credits

Special thanks to:

Made with <3 by NNB