How to uninstall zsh

9,976

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:
9,976

Related videos on Youtube

Ansd
Author by

Ansd

Updated on September 18, 2022

Comments

  • Ansd
    Ansd over 1 year

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

    • dmckee --- ex-moderator kitten
      dmckee --- ex-moderator kitten almost 13 years
      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).
    • Wuffers
      Wuffers almost 13 years
      @MaQleod: This is OS X, since the OP mentions using Homebrew.
  • Wuffers
    Wuffers almost 13 years
    @Ans: If you can't find it, then simply create it. And the PATH messiness isn't bad.
  • Ansd
    Ansd almost 13 years
    Thanks Mark. but if I have to create it.. where did all that paths come from?!
  • Wuffers
    Wuffers almost 13 years
    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.
  • Ansd
    Ansd almost 13 years
    What about all the other paths, where are they? and can I change them?
  • Wuffers
    Wuffers almost 13 years
    The other paths are where some executables are located at. You shouldn't change them, otherwise you might not be able to access some commands (the normal way, anyways.)