Comment by botverse
1 year ago
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`
No comments yet
Contribute on Hacker News ↗