Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh changes appended MANPATH value to prepended value



I am using Ghostty terminal on macOS Sonoma. Ghostty appends itself to MANPATH on startup, so zsh inherits MANPATH as:

:/Applications/Ghostty.app/Contents/Resources/ghostty/../man

After zsh inits, MANPATH is:

/usr/share/man:/usr/local/share/man:/Applications/Ghostty.app/Contents/Resources/ghostty/../man:

That is, zsh changes MANPATH so that Ghostty is prepended, instead of appended.

This happens with no zsh user configuration. Please help me understand why this is happening, as I do not think this is correct behaviour.

Please cc me on all replies. Thanks in advance.


Messages sorted by: Reverse Date, Date, Thread, Author