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." ;;