4 ms·
Which "yank" package are you using? I came across one [0], which copies the file selected to the clipboard instead of outputting it to stdout. I managed to get
by joeraut 6y ago
Which "yank" package are you using? I came across one [0], which copies the file selected to the clipboard instead of outputting it to stdout.
I managed to get it to print to stdout, though:
alias -g Y="| yank -- cat "
[0] https://github.com/mptre/yank https://github.com/mptre/yank
- williamdclt 6y agothat's the one, from the readme: "If stdout is not a terminal the selected field will be written to stdout and exit without invoking the yank command" Could be clearer, basically it means that if it's part of a pipe, it's going to print to stdout instead of copying to the clipboard