[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to configure emacs so that it run my '.profile' when I start a s
From: |
Lucius Fox |
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 |
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
>
>
>
>