View Full Version : How do you set the MANPATH?
Titanium Man
02-14-2002, 12:25 AM
I noticed that some manuals aren't being recongnized and when I did this
echo $MANPATH
I saw that the directories they were in weren't in the path. So I tried to set it, but to no avail. Please tell me what to type (exactly) and where to put it. Thanks!!
mervTormel
02-14-2002, 12:45 AM
manpath is like path
it's initialized in /usr/share/init/tcsh/login :
setenv MANPATH "${HOME}/man:/usr/local/share/man:/usr/share/man"
and i whack on it a bit in ~/Library/init/tcsh/path :
# wrangle MANPATH for fink man files in /usr/local/man
setenv MANPATH "${HOME}/man:/usr/local/man:/usr/local/share/man:/usr/share/man"
as for what to type exactly? ... type your desired target directories exactly :D and note the colon delimiters.
Titanium Man
02-14-2002, 01:04 AM
Good ol' Merv, thanks!! Yeah specifying "exactly" was pretty silly in retrospect. :D I was wanting to now the setenv part and where the punctuation goes. As mother always told me, "Eschew obfuscation". Thanks again Merv!
TiMan
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.