On Fri, 10 Jun 2011, Sherm Pendley wrote:
> Yes, but since .profile is evaluated later, whatever it does will
> override what's set in the plist. Thus, changes in the plist will have
> no effect on shell sessions that set the same variable.

I use this line in my .bash_profile to make sure I use the
same PATH everywhere (and only have to edit it in one place):

export PATH=`/usr/libexec/PlistBuddy -c 'Print :PATH' 

The same can be done for PERL5LIB.


Reply via email to