Troubles uninstalling oh-the-zsh

configuninstallationzsh

I'm on OSX and want to switch back to my original zsh config from oh-my-zsh, however when I run the uninstall script it gives me an error:

$ sudo uninstall oh-my-zsh

>> Preparing Uninstall...
   Uninstall Began...
   Uninstall Failed...
   Reason: ErrorMissingBundle

Can anyone please tell me what this means? Thanks!

Best Solution

Have you tried just running the commands from uninstall script by hand? It's really straight forward: https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/uninstall.sh. For the most part it just removes OMZ and attempts to restore a back up file:

rm -rf ~/.oh-my-zsh
rm ~/.zshrc
cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc
source ~/.zshrc
Related Question