Last active
October 5, 2021 16:22
-
-
Save Lucretiel/71f768cac99ffac3b9e0 to your computer and use it in GitHub Desktop.
Pipe stuff into your terminal's clipboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copy some stuff to the term clipboard | |
stuff="$(base64 -w0)" | |
exec echo -en "\x1b]52;c;${stuff}\x07" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment