gclip

module
v0.0.0-...-9236799 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2021 License: GPL-3.0

README

Terminal Clipboard

record example

Different from others terminal's clipboard coppiers, this one can copy complex and interminables commands like tail -f or outputs that spit multi line texts.

How to use:

You can use goclip to copy a simple command to the clipboard like this:

$ date | goclip
Tue Oct 10 22:55:01 PDT 2021

Or use the pipe to capture complex commands that doesn't generate EOF like this:

$ tail -f file.txt | goclip
text output1
text output2
text output3
(...)

Pressing CTRL+C in this case will make goclip capture the events and copy to the clipboard.

Installing:

Copy command bellow:

wget https://github.com/danielsussa/goclip/releases/latest/download/goclip -P $HOME/bin/ && chmod +x $HOME/bin/goclip

Open a new terminal tab and test it:

$ date | goclip
Tue Oct 10 22:55:01 PDT 2021

Simple!

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL