.bashrc aktualisiert
$TRASHVERZ konsequent eingesetzt
This commit is contained in:
11
.bashrc
11
.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."
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user