我在OSX上并希望从
oh-my-zsh切换回原来的zsh配置,但是当我运行卸载脚本时它会给我一个错误:
$sudo uninstall oh-my-zsh >> Preparing Uninstall... Uninstall Began... Uninstall Failed... Reason: ErrorMissingBundle
谁能告诉我这意味着什么?谢谢!
解决方法
您是否尝试过手动运行卸载脚本中的命令?它非常简单:
https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/uninstall.sh.在大多数情况下,它只是删除OMZ并尝试恢复备份文件:
rm -rf ~/.oh-my-zsh rm ~/.zshrc cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc source ~/.zshrc