3 ms·
> With the exception of New Age software like Go, that for some reason doesn't use manpages Primarily because man pages need to go in the MANPATH to be useful
by formerly_proven 3y ago
> With the exception of New Age software like Go, that for some reason doesn't use manpages
Primarily because man pages need to go in the MANPATH to be useful but these tools tend to dwell somewhere in ~/.
- em-bee 3y agomy manpath includes $HOME/.local/share/man; and that is with $MANPATH unset, so it's a distribution default
- unnah 3y agoOut of interest, I checked out man man on Linux and found the search logic documented in man 5 manpath. In addition to system directories specified in /etc/manpath.config, the man command checks directories in the user's PATH and maps them to related man directories: pathdir, pathdir/../man, pathdir/man, pathdir/../share/man, and pathdir/share/man are all considered. The MANPATH environment variable overrides all other configuration and should not be necessary. So, following current practices, installing binaries in ~/.local/bin and man pages in ~/.local/share/man should work without any additional configuration.