paste
Synopsis
Section titled “Synopsis”paste [args...]Description
Section titled “Description”Outputs clipboard contents to stdout. Uses wl-paste on Wayland, xclip on X11, or win32yank on WSL2.
Arguments
Section titled “Arguments”args... |
Arguments forwarded to the clipboard tool |
Exit Status
Section titled “Exit Status”0 |
Clipboard contents read successfully |
1 |
No supported clipboard tool found |
Returns
Section titled “Returns”The clipboard contents, printed to stdout
Example
Section titled “Example”paste > file.txtDependencies: _fish_clipboard_paste