←back to thread

700 points yen223 | 2 comments | | HN request time: 0.518s | source
Show context
BossingAround ◴[] No.42068804[source]
I'm sure everyone knows this, but `open` has an equivalent on Linux: `xdg-open`.
replies(1): >>42069798 #
1. Affric ◴[] No.42069798[source]
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.

replies(1): >>42072243 #
2. yen223 ◴[] No.42072243[source]
Xcode opening all my JSON files is equally obnoxious. At least it is relatively easy to sort that out in macOS.