mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

Home Page:https://mths.be/dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSPathMakeRef(/Applications/Preview.app) failed with error -43

PaulRBerg opened this issue · comments

Occurred when running the manpdf function. First seen after I upgraded to macOS Catalina.

It seems that we have to provide a different path when opening native Mac apps. This:

open -a /Applications/Preview.app

Is now this:

open -a /System/Applications/Preview.app

I can also see that the manpdf function is not maintained in this repo anymore. Either my clone of the repo had it or I manually added it at some point. Nonetheless, it's likely that some remaining usages of /Applications have to prefixed with /System.