diff --git a/trash.sh b/trash.sh index 07766ad..df70df7 100644 --- a/trash.sh +++ b/trash.sh @@ -20,8 +20,8 @@ trash_put() { } trash_empty() { - echo "Delete all $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash?" - \rm -irf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE" + \rm -rf "${TRASH_DIR/*}" && echo >"$FILE_PATHS_FILE" + echo "Deleted $(find "$TRASH_DIR" ! -name ".filepaths" | tail -n +2 | wc -l) files in trash" } trash_restore() {