From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: Changing $HOME
Date: 05 Mar 2005 01:16:04 +0100 [thread overview]
Message-ID: <87r7ivueuz.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 1109979196.118558.141930@z14g2000cwz.googlegroups.com
"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.
next prev parent reply other threads:[~2005-03-05 0:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-23 23:34 Changing $HOME Shug Boabby
2005-02-24 0:17 ` David Hansen
2005-02-24 0:29 ` Shug Boabby
2005-02-24 16:07 ` Sébastien Kirche
2005-03-04 20:28 ` Shug Boabby
2005-03-04 20:31 ` Shug Boabby
2005-03-04 23:07 ` Pascal Bourguignon
2005-03-04 23:33 ` Shug Boabby
2005-03-04 23:51 ` Kevin Rodgers
2005-03-05 0:14 ` Shug Boabby
2005-03-05 0:16 ` Pascal Bourguignon [this message]
2005-03-05 0:18 ` Pascal Bourguignon
2005-03-05 0:23 ` Shug Boabby
2005-03-05 7:07 ` Oliver Scholz
2005-03-07 4:30 ` Shug Boabby
2005-03-05 7:08 ` Oliver Scholz
2005-03-05 0:22 ` Shug Boabby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r7ivueuz.fsf@thalassa.informatimago.com \
--to=spam@mouse-potato.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.