Problems uninstalling oh-my-zsh?

I am on OSX and want to return to the original zsh configuration from oh-my-zsh , however, when I run the uninstall script this gives me an error:

 $ sudo uninstall oh-my-zsh >> Preparing Uninstall... Uninstall Began... Uninstall Failed... Reason: ErrorMissingBundle 

Can someone tell me what that means? Thanks!

+7
source share
4 answers

Did you try to just run the commands from the uninstall script manually? It's really straightforward: https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/uninstall.sh . For the most part, it simply deletes OMZ and tries to restore the backup file:

 rm -rf ~/.oh-my-zsh rm ~/.zshrc cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc source ~/.zshrc 
+18
source

In the new version, just run uninstall_oh_my_zsh from the command line.

See https://github.com/robbyrussell/oh-my-zsh#uninstalling-oh-my-zsh

+2
source
0
source

Try

 /usr/bin/chsh -s /bin/bash rm ~/.zshrc brew uninstall zsh --force 
0
source

Source: https://habr.com/ru/post/911365/


All Articles