From 0b2657aa8e5b38d4ce7cfe53c66408bbccb74b96 Mon Sep 17 00:00:00 2001 From: alf Date: Sun, 3 Aug 2025 11:27:09 +0000 Subject: [PATCH] .bashrc aktualisiert $TRASHVERZ konsequent eingesetzt --- .bashrc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index 3407f3c..98c967d 100644 --- a/.bashrc +++ b/.bashrc @@ -175,14 +175,13 @@ function del() { function purge() { read -p "Wirklich löschen? ja/nein/Liste/Hilfe j/n/l/h " wwahl case $wwahl in - "ja" | "j") - echo "Lösche..." - \rm -r /home/$USER/.Müll/* - echo "Fertig. ERR: $?" - ;; + "ja" | "j") + echo "Lösche..." + \rm -r $TRASHVERZ + echo "Fertig. ERR: $?" + ;; "nein" | "n") - ls /home/$USER/.Müll/ echo "Nichts gelöscht." ;;