Am 04.11.2008 um 10:57 schrieb Ted Zlatanov:

> OK, I'll run it that way and see how it goes.  Why not put ns- 
> grabenv in
> the default init for everyone?


Because it's usually not necessary. It's easy to synchronise the  
environment variables in a shell environment with those in a Mac OS X  
process environment, which to create no shell is necessary and  
therefore one needs ~/.MacOSX/environment.plist. Once this file is  
set up as the single point of failure you can easily re-use its  
contents and override settings coming some default places as in:

        .tcshrc:setenv LANG `defaults read "${HOME}/.MacOSX/environment" LANG`
        .tcshrc:set path=(`defaults read ~/.MacOSX/environment PATH | tr ':'  
' '`)
        
        .bashrc:export LANG=$(defaults read "${HOME}/.MacOSX/environment" LANG)
        .bashrc:export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)


--
Greetings

   Pete

How many Microsoft engineers does it take to screw in a light-bulb?
None.
They just redefine "dark" as the new standard.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to