[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inherit the path environment from .bash_profile (Mac OS 10.5)

From: Peter Dyballa
Subject: Re: Inherit the path environment from .bash_profile (Mac OS 10.5)
Date: Fri, 6 Aug 2010 10:47:51 +0200

Am 06.08.2010 um 05:17 schrieb Z:

So in my case, how can I achieve this inheritance of path environments?

Either use a shell script which launches Carbon Emacs or translate .bash_profile's contents into Elisp à la:

(setenv "PATH" (concat "/some/directory" path-separator (getenv "PATH")))

You can save some work by first investigating the value of process- environment.

A different method is composing a file ~/.MacOSX/environment.plist. It sets the environment for all processes at boot time. Read more here: (also available via Xcode on disk: /Developer/Documentation/DocSets/ Resources/Documents/qa/qa2001/qa1232.html).



Hard Disk, n.:
A device that allows users to delete vast quantities of data with simple mnemonic commands.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]