Let's say you have a project for which you need a custom font path. Oops! Your . Bashrc
On 2011-07-29, mark brethen <[email protected]> wrote: > I created the environment.plist and entered the GDFONTPATH and > GNUPLOT_DEFAULT_GDFONT string values. This worked also. So, are you saying I > shouldn't use .bashrc anymore? > > -Mark > > > > On Jul 28, 2011, at 8:14 PM, Brandon Allbery wrote: > >> On Thu, Jul 28, 2011 at 20:17, mark brethen <[email protected]> wrote: >> wxMaxima, the environment variable doesn't get passed along. But gnuplot >> reads it's init file when ever a job is submitted to it.. >> >> No *login* shell is involved anywhere along the way (setting environment >> variables in e.g. .bashrc is not an especially good idea, because it's >> harder to override them when some other program needs them to be >> different). Most Linux desktop environments behave much the same way, and >> they generally provide some way to set the environment of the desktop >> system itself for cases like this. >> >> For OS X you want to look at ~/.MacOSX/environment.plist. There are >> several preference pane add-ons for it, or you can edit it directly via >> the XCode Property List Editor or as XML text. >> http://developer.apple.com/library/mac/#qa/qa1067/_index.html >> >> -- >> brandon s allbery [email protected] >> wandering unix systems administrator (available) (412) 475-9364 vm/sms >> > > -- brandon s allbery [email protected] wandering unix systems administrator (available) (412) 475-9364 vm/sms _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
