From: etay.meiri@gmail.com
To: help-gnu-emacs@gnu.org
Subject: how to make emacs aware of bash aliases
Date: Tue, 9 Sep 2008 01:46:44 -0700 (PDT) [thread overview]
Message-ID: <43f12347-4102-4636-b034-d08158ec8ed3@j22g2000hsf.googlegroups.com> (raw)
Hi,
I have the following aliases in my .bashrc:
alias remake="make clean && make"
alias makedebug="make CXXFLAGS=\"-g -DDEBUG\""
alias makerelease="make CXXFLAGS=\"-g -O3\""
They work fine from a regular bash shell.
I'm trying to use them via emacs compile command and get the following
result:
-*- mode: compilation; default-directory: "~/workspace/demo_12_1/" -*-
Compilation started at Tue Sep 9 11:40:15
cd ~/workspace/demo_12_1/ && makedebug
/bin/bash: makedebug: command not found
Compilation exited abnormally with code 127 at Tue Sep 9 11:40:15
How can I make the emacs shell aware of the aliases I defined?
Thanks a lot,
-Etay
next reply other threads:[~2008-09-09 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 8:46 etay.meiri [this message]
2008-09-09 23:39 ` how to make emacs aware of bash aliases Giorgos Keramidas
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=43f12347-4102-4636-b034-d08158ec8ed3@j22g2000hsf.googlegroups.com \
--to=etay.meiri@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).