Updating the man config to find newly installed stuff

The Hivelogic page has been indispensible when setting up my Mac for development. The one thing that it does not mention is how to tweak your man configuration so that you can see the manual pages for the software you have just installed into /usr/local.

The configuration file for man is in /usr/share/misc/man.conf by default. You can type man man to confirm this. Edit the file as root and add a new MANPATH setting pointing to /usr/local. Simple!

MANPATH /usr/local/man

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s