[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.
- Re: Changing $HOME, Shug Boabby, 2005/03/04
- Re: Changing $HOME, Shug Boabby, 2005/03/04
- Re: Changing $HOME, Pascal Bourguignon, 2005/03/04
- Re: Changing $HOME, Shug Boabby, 2005/03/04
- Re: Changing $HOME,
Pascal Bourguignon <=
- Re: Changing $HOME, Pascal Bourguignon, 2005/03/04
- Re: Changing $HOME, Shug Boabby, 2005/03/04
- Re: Changing $HOME, Oliver Scholz, 2005/03/05
- Re: Changing $HOME, Shug Boabby, 2005/03/06
- Re: Changing $HOME, Oliver Scholz, 2005/03/05
- Re: Changing $HOME, Shug Boabby, 2005/03/04