I installed Oh My Zsh by using the following command so how do I uninstall it?
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
I installed Oh My Zsh by using the following command so how do I uninstall it?
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
From the oh-my-zsh README:
Uninstalling Oh My Zsh
Oh My Zsh isn't for everyone. We'll miss you, but we want to make this an easy breakup.
If you want to uninstall
oh-my-zsh, just rununinstall_oh_my_zshfrom the command-line. It will remove itself and revert your previous bash or zsh configuration.
I had to change the permissions of my uninstall.sh file for this to work. My uninstall.sh was read-only. Changing it to 777 did the trick!
$ sudo chmod 777 ~/.oh-my-zsh/tools/uninstall.sh
$ ~/.oh-my-zsh/tools/uninstall.sh
You can run the following command:
sh ~/.oh-my-zsh/tools/uninstall.sh
You will be asked the following:
Are you sure you want to remove Oh My Zsh? [y/N]
Then enter y for "yes" and press Enter. This will restore .zshrc and remove the ~/.oh-my-zsh/ folder.