Copy without leaving your terminal 💻
- Copy text directly:
cpsh "hello world" - Copy file contents:
cpsh -f file.txt - Copy file paths for non-text files:
cpsh -f document.pdf - Copy from pipe:
echo hello | cpsh
go install github.com/galalen/cpsh@latestgit clone https://github.com/galalen/cpsh
cd cpsh
go build