From 8bf0080654ef3012570fb2fdd81f8cef1fb23b9e Mon Sep 17 00:00:00 2001 From: Kim Date: Tue, 21 Sep 2021 18:53:10 +0200 Subject: [PATCH] fix trash_rm --- trash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trash.sh b/trash.sh index 326eb04..71f1ce0 100644 --- a/trash.sh +++ b/trash.sh @@ -41,7 +41,7 @@ trash_rm() { if readlink -f "$FILE_TO_REMOVE" | grep "$HOME/.trash"; then \rm -Ir "$HOME"/.trash/"$FILE_TO_REMOVE" && sed -i "/$FILE_TO_REMOVE/d" "$FILE_PATHS_FILE" else - echo "$i is not in Trash." && false + echo "$FILE_TO_REMOVE is not in Trash." && false fi done }