How do I pipe the output of a command like sudo apt/pacman to the clipboard in fish (with or without fzf) similar to how st does? I’ve not managed to get this to work.
>>108502567you cant pipe a command to xclip/xsel in fish? what kind of retarded shell is that
>>108502567stinky fish
>>108502567use case? just copy it with Ctrl^Shift^C
>>108502612I meant, copying the output of it from history to the clipboard :x
>>108502567sudo apt/pacman [...] > ~/tmp.txtxdg-open ~/tmp.txtctrl+a ctrl+c ctrl+wrm ~/tmp.txt
>>108502567you can use 'xclip' to pipe and redirect stuff.