Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com May 21 '11 at 2:05

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

2  
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
add comment

1 Answer

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:

PATH=$HOME/.homebrew/bin:$PATH
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 –  Ans 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?! –  Ans 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? –  Ans Jun 4 '11 at 15:24
show 2 more comments

Your Answer

 
discard

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.