Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using carbon emacs on mac OS X (snow leopard). I can use M-x shell or M-x eshell but these shells don't contain non-default commands, such as 'ack' that I added with MacPort. Is there some way to get a complete shell configuration in my emacs?

I bet it's possible since this works on Aquamacs. However I prefer carbon emacs for personal reasons.

share|improve this question
When you say that you added non-default commands, do you mean in your .bash_profile or .profile, or some other method? I'd also be interested in hearing why you prefer carbon emacs, if you don't mind sharing. – Larry Coleman Nov 26 '10 at 21:20
@Larry : I prefer carbon emacs because it feels more neutral than aquamacs. With aquamacs you start with a bunch of stuff I don't really want. carbon emacs starts with the basic and I can add what I want the way I want it. – tmoisan May 5 '11 at 14:31
up vote 0 down vote accepted

You should also take a look at this thread here at SU.

share|improve this answer
Yes this thread fixed all possible problems I had with my PATH and shell. – tmoisan Dec 26 '10 at 18:01

You probably just need to add the path to your MacPort binaries to your PATH. Add this at the end of your ~/.profile or ~/.bashrc:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
share|improve this answer
Adding it to .bashrc worked! Thanks. – tmoisan Nov 28 '10 at 13:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.