y
y [text...]Copies text to the system clipboard using wl-copy (Wayland) or xclip (X11). Reads from stdin when no arguments are given.
Arguments: text Text to copy; reads from stdin if omittedReturns:
0 |
Text copied to clipboard |
1 |
No clipboard provider found |
y "hello world"ls | ycat file.txt | y