Error: Zsh fails to start after restoring corrupted ~/.zshrc in Oh My Zsh
After restoring a backup of the ~/.oh‑my‑zsh directory and ~/.zshrc , the shell often fails to load the configured theme and plugins. The failure manifests as a startup error message from Zsh (e.g., “syntax error near unexpected token”), after which the prompt reverts to a default state. Oh My Zsh does not run an automatic health check following a restore, s