Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Troubles uninstalling oh-my-zsh?

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!

like image 724
beakr Avatar asked Mar 21 '12 22:03

beakr


People also ask

How do I uninstall zsh and oh my zsh Ubuntu?

If you want to remove oh-my-zsh, run the command “uninstall oh_my_zsh“. It will remove all the necessary files and folders part of oh_my_zsh and revert to the previous state. Restart your terminal for changes to be effective.

What is zsh on Mac?

The Z shell (also known as zsh ) is a Unix shell that is built on top of bash (the default shell for macOS) with additional features. It's recommended to use zsh over bash . It's also highly recommended to install a framework with zsh as it makes dealing with configuration, plugins and themes a lot nicer.

How do I reset my zsh Mac?

To reset your zsh settings to default, just delete your . zshrc file by clicking it once and then pressing ⌘ ⌫ (Cmd-Backspace). (If you see any other . z* files, delete those, too.)


1 Answers

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 
like image 98
Steve McKinney Avatar answered Sep 16 '22 14:09

Steve McKinney