Troubles uninstalling oh-my-zsh?

beakr picture beakr · Mar 21, 2012 · Viewed 53.3k times · Source

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!

Answer

Steve McKinney picture Steve McKinney · Apr 7, 2012

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