[Top][All Lists]

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

Re: Cocoa Emacs 23 and Tramp problem

From: Peter Dyballa
Subject: Re: Cocoa Emacs 23 and Tramp problem
Date: Sat, 7 Mar 2009 01:24:13 +0100

Am 07.03.2009 um 00:59 schrieb Lars Wessman:

I'll try this out tomorrow, and then maybe I'll look to see if this info is in the emacs wiki and, if not, add it in an appropriate place.

If you do so, you could also mention that with ~/.MacOSX/ environment.plist you have one "single point of failure:" you don't need to mess with PATH or path settings in different (login) shell RC files. Whenever you need a particular environment variable globally, you can put it there. Since the process environment does not automatically change when ~/.MacOSX/environment.plist is changed, and it could happen that you log in to your or some other Mac from remote, you can also use ~/.MacOSX/environment.plist as the single source for quite up-to-date environment settings in shell by using in ~/.bashrc or such:

        export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)

or in ~/.(t)cshrc or such:

        set path=(`defaults read ~/.MacOSX/environment PATH | tr ':' ' '`)

I.e.: instead of editing half a dozen files every time you care for just a single one.



I love deadlines. I love the whooshing noise they make as they go by.
                                – Douglas Adams

reply via email to

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