2 ms·
`xsel --clipboard` has identical behaviour if you are on Linux. But I guess the wrapper is still nice to abstract across OSes.
by kevincox 4y ago
`xsel --clipboard` has identical behaviour if you are on Linux. But I guess the wrapper is still nice to abstract across OSes.
- jeppesen-io 4y agoCheers mate! Never knew of that cmd. Just added this to my shell alias config on Nix and it works nicely, even with pipes `cp = "${pkgs.xsel}/bin/xsel --clipboard";`
- jwilk 4y agocp?!