summaryrefslogtreecommitdiff
path: root/plugins/aws/aws.plugin.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-02-25 14:06:19 +0100
committerMarc Cornellà <hello@mcornella.com>2022-02-25 14:06:19 +0100
commitc81804825c03e563ab748aae84c3f63458961208 (patch)
tree90679907c12bad620e5b81a81e2377671d28d88e /plugins/aws/aws.plugin.zsh
parent99460351eb8d8d9d5ea2e44b66e1b9ceaaa4a368 (diff)
downloadzsh-c81804825c03e563ab748aae84c3f63458961208.tar.gz
zsh-c81804825c03e563ab748aae84c3f63458961208.tar.bz2
zsh-c81804825c03e563ab748aae84c3f63458961208.zip
fix(installer): fix removal of OMZ directory on failure
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.
Diffstat (limited to 'plugins/aws/aws.plugin.zsh')
0 files changed, 0 insertions, 0 deletions