10 lines
192 B
Bash
10 lines
192 B
Bash
|
# Copy stdin to system clipboard. *Example:* `echo hi \| copy`.
|
||
|
function copy() {
|
||
|
wl-copy
|
||
|
}
|
||
|
|
||
|
# Paste system clipboard to stdout. *Example:* `paste > file.txt`.
|
||
|
function paste() {
|
||
|
wl-paste
|
||
|
}
|