all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lucius Fox <lucius.fox08@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to configure emacs so that it run my '.profile' when I start a shell inside emacs?
Date: Sun, 19 Apr 2009 15:09:23 -0700	[thread overview]
Message-ID: <528a76e70904191509j27b04079jb34af11e6c312f31@mail.gmail.com> (raw)
In-Reply-To: <650C106C-06F4-4545-85D4-5B4E4BF120C4@Web.DE>

Thanks. But how can I do that automatically?

This is because right now, when I start a shell, it source in my
'.profile' automatically.
But when I start a shell within emacs, it does not source in my .profile.

Thank you.


On Sun, Apr 19, 2009 at 3:03 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 19.04.2009 um 23:51 schrieb Lucius Fox:
>
>> How to configure emacs so that it run my '.profile' when I start a
>> shell inside emacs?
>
>
> It depends on your login shell's syntax. You can put into the file
> ~/.emacs_<login shell's name> a command like
>
>        . ~/.profile
>
> for Bourne like shells or
>
>        source ~/.profile
>
> for csh like shells. Other shells will also have their syntax.
>
> --
> Greetings
>
>  Pete
>
> Bigamy is having one wife too many. Monogamy is the same.
>                                – Oscar Wilde
>
>
>
>




  reply	other threads:[~2009-04-19 22:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-19 21:51 How to configure emacs so that it run my '.profile' when I start a shell inside emacs? Lucius Fox
2009-04-19 22:03 ` Peter Dyballa
2009-04-19 22:09   ` Lucius Fox [this message]
2009-04-19 22:19     ` Peter Dyballa
2009-04-20  4:58       ` Nurullah Akkaya
2009-04-20  8:29         ` Peter Dyballa

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=528a76e70904191509j27b04079jb34af11e6c312f31@mail.gmail.com \
    --to=lucius.fox08@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.