help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use bash alias in emacs compile


From: Pascal J. Bourguignon
Subject: Re: how to use bash alias in emacs compile
Date: Thu, 03 May 2012 10:35:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

"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 {}.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]