help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Changing $HOME


From: Pascal Bourguignon
Subject: Re: Changing $HOME
Date: 05 Mar 2005 01:16:04 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Shug Boabby" <Shug.Boabby@gmail.com> writes:

> thanks pascal... but the problem is that i only wish to set HOME for
> emacs, but not the other dock (or OS X) apps.

Then you can put:
     (putenv "HOME" "/some/path") 
at the start of your ~/.emacs

Of course, it'll use the normal $HOME to find ~/.emacs. If that's not
what you want, you only can write a trampoline script:

% cat ~/bin/emacs
#!/bin/bash
export HOME=/some/path
exec /usr/local/bin/emacs "$@"




-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Nobody can fix the economy.  Nobody can be trusted with their finger
on the button.  Nobody's perfect.  VOTE FOR NOBODY.


reply via email to

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