[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make emacs to run my ~/.bash_profile
From: |
Wang Lei |
Subject: |
Re: How to make emacs to run my ~/.bash_profile |
Date: |
Sat, 19 Sep 2009 19:49:28 +0800 |
I think .bash_profile is only executed once, just after login.
.bashrc is the actual executed file when starting a shell.
On 9/19/09, hap 497 <hap497@gmail.com> wrote:
> Hi,
>
> I often start a shell in emacs using 'M-shell'. But what i find out it
> emacs does not execute my ~/.bash_profile.
> Therefore my alias does not work in emacs shell.
>
> Can you please tell me how can I make emacs run my ~/.bash_profile
> whenever I do a 'M-shell'?
>
> Thank you.
>
>
>
--
Regards,
Lei