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

I have changed my shell to oh-my-zsh, which is working great in iTerm.

However when I open up my Emacs, M-x shell, I see it also changes to zsh, but the output from executing commands is messy:

➜  Public  ls
ls


Drop Box    Dropbox-Public  tars
%                                                                                                  


➜  Public  ls
ls


Drop Box    Dropbox-Public  tars
%                                                                                                  


➜  Public  

Too many empty lines! I have to change it back to bash using:

(setq explicit-shell-file-name "/bin/bash")

However I want to use zsh, since it has great plugins. For example, I can see which branch I am working on currently directly in the command line using the git plugin.

Is there anyone familiar with zsh and emacs who can help me fix this?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.