How to set MANPATH without overriding defaults?
- by balki
I have added extra directories to $PATH by exporting PATH=/my/dirs:$PATH
But I am not sure if I should do the same to MANPATH. Because default MANPATH is empty yet man command works. I found a command called manpath and its manual says If $MANPATH is set, manpath will simply display its contents and issue a warning.. Does this mean setting MANPATH is not the right way to add directories for man command to search for manual pages?