mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-05-09 19:05:14 +00:00

When the `git init` call fails, the directory is not created, so the rm command fails with a not found error. This change checks whether the directory exists before deleting it.