From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to use bash alias in emacs compile
Date: Thu, 03 May 2012 10:35:15 +0200 [thread overview]
Message-ID: <87wr4tll18.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: a0a22d31-830a-4488-96c8-2846e47fcff4@v1g2000yqm.googlegroups.com
"Daniel (Youngwhan)" <breadncup@gmail.com> writes:
> Hi,
>
> I have alias like this:
>
> alias dm='cd ~/XYZ && ./mycompile.sh'
Where do you have it?
> I typed M-x compile, and tried to run by just typing "dm", but it
> doesn't recognize.
Try: M-x compile RET C-a C-k bash -i -c dm RET
> I searched and some suggest BASH_ENV, so I tried, but not working.
man bash explains in details what file it will load and when, but it's
complicated. I put everything in ~/.bashrc
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
next prev parent reply other threads:[~2012-05-03 8:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 21:28 how to use bash alias in emacs compile Daniel (Youngwhan)
2012-05-02 21:42 ` Peter Dyballa
2012-05-02 22:55 ` Barry Margolin
2012-05-03 8:35 ` Pascal J. Bourguignon [this message]
2012-05-07 19:48 ` Daniel (Youngwhan)
2012-05-07 20:04 ` ken
2012-05-07 20:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wr4tll18.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.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.
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.