3 ms·
Isn't copying without the formatting just a `<your diff command> | pbcopy` away?
by PhilippGille 2y ago
Isn't copying without the formatting just a `<your diff command> | pbcopy` away?
- genewitch 2y agoI have Gemini set to decipher HN comments that I don't immediately understand. This is a macos only command `pbcopy`? Aside: Gemini mentioned it didn't want me to ask it questions about bikeshedding what shade of blue on a website header so I think it's got our number.
- chuckadams 2y agoYes pbcopy is a mac thing. On Linux, there are of course many different commands in different environments/distros. xsel, xclip, wl-clipboard, wlclip to name a few. On windows, powershell has Get-Clipboard and Set-Clipboard, and cmd.exe has `wsl` to fix the issue of having used cmd.exe to begin with.
- Macha 2y agoThough, if you have a preferred shade of blue, you can actually use it for the HN header in your user settings.