diff --git a/zsh/customizations/zsh_aliases.zsh b/zsh/customizations/zsh_aliases.zsh index 80dfad4..07ad2cc 100644 --- a/zsh/customizations/zsh_aliases.zsh +++ b/zsh/customizations/zsh_aliases.zsh @@ -33,7 +33,7 @@ alias mv='mv -i' function rmdirs() { - [[ -z $(find $@ -not -type d | tee /dev/stderr | head -n10) ]] && rm -Ir $@ + [[ -z $(find $@ -not -type d | tee /dev/stderr | head -n10) ]] && rm -Ir $@ || >&2 echo Files were found, please check again or run rm -Ir manually } # Use a larger number of KDF rounds and the secure ed25519 key type by default.