From f9cae00ec8b2339ba2253770f29bc9f9d5141d7d Mon Sep 17 00:00:00 2001 From: Kim Date: Tue, 21 Sep 2021 20:06:26 +0200 Subject: [PATCH] remove list filepath from trash_list --- trash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trash.sh b/trash.sh index 568c48a..b3b140f 100644 --- a/trash.sh +++ b/trash.sh @@ -6,7 +6,7 @@ FILE_PATHS_FILE="$HOME/.trash/.filepaths" [ ! -f "$FILE_PATHS_FILE" ] && touch "$FILE_PATHS_FILE" trash_list() { - find "$HOME"/.trash/ ! -name ".filepaths" + find "$HOME"/.trash/ ! -name ".filepaths" ! -name "" } trash_put() {