Comment

Comment by botverse

I did something similar with copy until I found this which works across remote terminals too:

`alias clip="base64 | xargs -0 printf '\e]52;c;%s\007'"`

It just sends it to the client’s terminal clipboard.

`cat thing.txt | clip`

parent botverse 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton