|
|
|
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 Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|