News for hackers. Stuff that matters.
Re:Useful built-in macOS command-line utilities by BossingAround on Wednesday November 06, 2024 @03:26PM (#42068804)
I'm sure everyone knows this, but `open` has an equivalent on Linux: `xdg-open`.
Re:Useful built-in macOS command-line utilities by Affric on Wednesday November 06, 2024 @04:35PM (#42069798)
Except xdg mime types are easily heist-able by programs and there is no universal truth for it.

Install vscode on Linux and have fun with it hijacking opening directories. Which is easy enough to fix (with a bit of know how) or work around but annoying.

MacOS is far from perfect but open always doing what I expect is a good example of what Apple did well.

Re:Useful built-in macOS command-line utilities by yen223 on Wednesday November 06, 2024 @08:25PM (#42072243)
Xcode opening all my JSON files is equally obnoxious. At least it is relatively easy to sort that out in macOS.
Re:Useful built-in macOS command-line utilities by Affric on Wednesday November 06, 2024 @10:24PM (#42073043)
Good parallel.

Super easy to fix on macOS.