Home > Software engineering >  My zshell breaks because oh-my-zsh cannot update
My zshell breaks because oh-my-zsh cannot update

Time:10-09

When I reload my shell(on MacOS), I get the following error. error[oh-my-zsh] Can't update: not a git repository. When I try to delete pyenv or to do something else,I get the error that the command i not found. For example enter image description here What should I do to solve it?

CodePudding user response:

Yes, the .zshrc file was broken and was adding wrong paths to the PATH variable. I deleted it and put the correct scripts.

CodePudding user response:

If you recently updated Xcode, try to run in your Terminal as Normal User:

xcodebuild -runFirstLaunch
  • Related