y
Synopsis
Section titled “Synopsis”y [text...]Description
Section titled “Description”Copies text to the system clipboard using wl-copy (Wayland), xclip (X11), or win32yank (WSL2). Reads from stdin when no arguments are given.
Arguments
Section titled “Arguments”text |
Text to copy; reads from stdin if omitted |
Exit Status
Section titled “Exit Status”0 |
Text copied to clipboard |
1 |
No clipboard provider found |
Example
Section titled “Example”y "hello world"ls | ycat file.txt | yDependencies: _fish_clipboard_copy