.bashrc aktualisiert

$TRASHVERZ konsequent eingesetzt
This commit is contained in:
alf
2025-08-03 11:27:09 +00:00
parent f14ab5c211
commit 0b2657aa8e

11
.bashrc
View File

@ -175,14 +175,13 @@ function del() {
function purge() { function purge() {
read -p "Wirklich löschen? ja/nein/Liste/Hilfe j/n/l/h " wwahl read -p "Wirklich löschen? ja/nein/Liste/Hilfe j/n/l/h " wwahl
case $wwahl in case $wwahl in
"ja" | "j") "ja" | "j")
echo "Lösche..." echo "Lösche..."
\rm -r /home/$USER/.Müll/* \rm -r $TRASHVERZ
echo "Fertig. ERR: $?" echo "Fertig. ERR: $?"
;; ;;
"nein" | "n") "nein" | "n")
ls /home/$USER/.Müll/
echo "Nichts gelöscht." echo "Nichts gelöscht."
;; ;;