From 782fac78734bb0dbae4c2a746528f7b067546482 Mon Sep 17 00:00:00 2001 From: Kim Date: Tue, 21 Sep 2021 20:08:47 +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 b3b140f..b6f1503 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" ! -name "" + find "$HOME"/.trash/ ! -name ".filepaths" | tail -n +2 } trash_put() {