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:18:24 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Pascal Bourguignon <spam@mouse-potato.com> writes:

> "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") 

Make it setenv

(I only use (setf (getenv "HOME") "/some/path") personnally...)

> 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.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.


reply via email to

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