MANPATH includes some unwanted entries in the front on macOS #4532
Replies: 1 comment
-
|
According to https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW20, it seems that the executable must be placed inside the directory According to
ghostty already puts |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
MANPATH includes some unwanted entries in the front on macOS, namely
/usr/share/manand/usr/local/share/man, as shown in the image below.This will confuse
manpath(1), as shown below.In contrast, kitty does not set
MANPATH, andmanpath(1)will output a correct result.man(1)knows how to derive manpath fromPATHby default. So ifMANPATHis correct,man(1)should open the manpage according to the order ofPATH.I am using ghostty 1.0.1 on macOS.
Beta Was this translation helpful? Give feedback.
All reactions