Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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 have aliases defined on my .zshrc file that I commonly use when I am on a gnome-terminal. However, when I am on M-x shell on Emacs, the autocompletion does not find them (even though they still work).

Is this a limitation of the Emacs subshell? Are there any known workarounds to this problem?

share|improve this question
up vote 4 down vote accepted

That mode does not provide a fully functional terminal to the subshell. Use M-x ansi-term instead.

share|improve this answer

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.