unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Wang Lei <fxhjgzydw@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to make emacs to run my ~/.bash_profile
Date: Sat, 19 Sep 2009 19:49:28 +0800	[thread overview]
Message-ID: <b97f47d60909190449t24d0eevf2320faf283226d9@mail.gmail.com> (raw)
In-Reply-To: <5ff1d48c0909181624w301d5c0dh1f33fdd19dea02d1@mail.gmail.com>

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




  reply	other threads:[~2009-09-19 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 23:24 How to make emacs to run my ~/.bash_profile hap 497
2009-09-19 11:49 ` Wang Lei [this message]
     [not found] ` <mailman.7050.1253360978.2239.help-gnu-emacs@gnu.org>
2009-09-20  3:55   ` Tim X
2009-09-20  9:45     ` Pascal J. Bourguignon

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b97f47d60909190449t24d0eevf2320faf283226d9@mail.gmail.com \
    --to=fxhjgzydw@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).