[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to make emacs aware of bash aliases
From: |
etay . meiri |
Subject: |
how to make emacs aware of bash aliases |
Date: |
Tue, 9 Sep 2008 01:46:44 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- how to make emacs aware of bash aliases,
etay . meiri <=