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

Is there anyway to uninstall zsh? I wasn't able to upgrade it so I want to uninstall it then install it using brew.

share|improve this question

migrated from May 21 '11 at 2:05

This question came from our site for professional and enthusiast programmers.

You are going to need to give a certain amount of detail about the environment you are working in. And you should specfiy that you mean take zsh off the system and not, change my default shell away from zsh (or the other way 'round). – dmckee May 21 '11 at 2:04
@MaQleod: This is OS X, since the OP mentions using Homebrew. – Wuffers May 21 '11 at 2:45
up vote 2 down vote accepted

You don't necessarily need to uninstall it. Since you're using Homebrew, you can simply make sure that Homebrew's bin directory is before anything else in your $PATH. For instance, put this in your .bashrc or similar:

share|improve this answer
I couldn't find .bashrc anywhere!! my path is getting messy, echo $PATH gave me: /Users/Home/.rvm/gems/ruby-1.9.2-p180@rails3/bin:/Users/Home/.rvm/gems/ruby-1.9.‌​2-p180@global/bin:/Users/Home/.rvm/rubies/ruby-1.9.2-p180/bin:/Users/Home/.rvm/bi‌​n:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin – Ansd May 23 '11 at 0:29
@Ans: If you can't find it, then simply create it. And the PATH messiness isn't bad. – Wuffers May 23 '11 at 0:43
Thanks Mark. but if I have to create it.. where did all that paths come from?! – Ansd May 25 '11 at 22:00
You don't have to create the PATH. There's going to be some stuff automatically in there. You might have to create the .bashrc file is what I was getting at. – Wuffers May 25 '11 at 22:06
What about all the other paths, where are they? and can I change them? – Ansd Jun 4 '11 at 15:24

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.