|
|
Don't explicitly set MANPATH
OS X uses /usr/bin/manpath to construct the MANPATH on the fly. If you set the MANPATH environment variable you will not "see" your other man pages unless you explicitly set them in the MANPATH (unless you invoke man -M command). /usr/bin/manpath will construct the MANPATH based on directives in /usr/share/misc/man.conf and your PATH environment. If PATH contains /opt/local/bin and /opt/local/man exists it will be added to MANPATH. See the manpath man page and try running manpath -d.
Re: Don't explicitly set MANPATH
Your comments are informative and a helpful warning but the "Don't" in the title seems too strong since there can be valid reasons to explicitly set MANPATH instead of modifying /etc/manpath.config. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|