Finding your MAN

For some reason, my Mac OS X 10.8.2 installation keeps forgetting where my MAN pages are:

>man launchctl
No manual entry for launchctl
>echo $MANPATH
/opt/local/share/man

Apparently they’re in /usr/share/man, so we can append this proper path to the existing path with:

>export MANPATH=$MANPATH:/usr/share/man

>echo $MANPATH
/opt/local/share/man:/usr/share/man