diff --git a/trash.sh b/trash.sh index df70df7..7945d07 100644 --- a/trash.sh +++ b/trash.sh @@ -20,7 +20,7 @@ trash_put() { } trash_empty() { - \rm -rf "${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" }