Not all systems have an executable named manpath. As a result, caching of man directories doesn't work on those systems.
The patch below adds a new option g:ref_man_manpath for the man source. If this option is unset, the environment variable MANPATH is used. If the environment variable MANPATH is also unset, manpath is run, and the result is used as a list of directories to search for man pages.
Not all systems have an executable named
manpath
. As a result, caching of man directories doesn't work on those systems.The patch below adds a new option
g:ref_man_manpath
for theman
source. If this option is unset, the environment variableMANPATH
is used. If the environment variableMANPATH
is also unset,manpath
is run, and the result is used as a list of directories to search for man pages.