In my system (Fedora 33)
echo $INFOPATH returns nothing. (Info works nonetheless.) I’ve read that Fedora uses
/etc/man_db.conf instead of the
MANPATH environment variable, but I’ve not found an analogue for Info manuals. I tried changing the
INFOPATH anyway by adding
~/.profile but the value of the variable changes when I log out and in again. I might add some checks to the setting but first I’d like to know if setting the
INFOPATH variable is the right way to add new directories of Info manuals.
Also, is the
PATH set in a similar way to the
MANPATH, i.e. without actually looking at the environment variable?