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
Related videos on Youtube
Author by
Ansd
Updated on September 18, 2022Comments
-
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 almost 13 yearsYou 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 almost 13 years@MaQleod: This is OS X, since the OP mentions using Homebrew.
-
-
Wuffers almost 13 years@Ans: If you can't find it, then simply create it. And the PATH messiness isn't bad.
-
Ansd almost 13 yearsThanks Mark. but if I have to create it.. where did all that paths come from?!
-
Wuffers almost 13 yearsYou 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 almost 13 yearsWhat about all the other paths, where are they? and can I change them?
-
Wuffers almost 13 yearsThe 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.)