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!
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.
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.
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.)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With