Re: set MANPATH
Re: set MANPATH
- Subject: Re: set MANPATH
- From: Kevin Grant <email@hidden>
- Date: Sun, 18 Jan 2004 15:48:06 -0600
I have man pages located at a different path than the default
/usr/share/man. I have set an environment variable in a ~/.profile
file with this line:
$MANPATH="path1:path2"
It works in the terminal when I type 'man command' but not in xcode
when using the Help>Man pages menu.
How can I tell xcode to search with a different man path ?
The environment of the shell that launches a program determines what
its environment is by default. I don't know what the Finder sets, but
it wouldn't respect your shell login files I imagine.
One way to force Xcode to see your MANPATH would be to launch it
directly from the shell, e.g. from a terminal run
/Developer/Applications/Xcode.app/Contents/MacOS/Xcode
You could also stick this in a shell script text file with extension
".command" and give it execute permissions ("chmod +x filename" from a
terminal), so that it would be "double-clickable" from the Finder -
although this would launch your terminal first before Xcode.
Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >set MANPATH (From: Romain Brestac <email@hidden>) |