add osc52.sh
This commit is contained in:
parent
bc518ae0d5
commit
fc43b10731
|
|
@ -0,0 +1,8 @@
|
||||||
|
# source into your bash (e.g .bashrc)
|
||||||
|
|
||||||
|
function osc52 {
|
||||||
|
printf "\033]52;c;$(cat $* | base64)\a"
|
||||||
|
echo "Copied to clipboard"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue