From 29a86c4edfd8d79157fb1f992276d23032f4a18f Mon Sep 17 00:00:00 2001 From: alf Date: Fri, 5 Sep 2025 09:56:54 +0000 Subject: [PATCH] .bashrc aktualisiert --- .bashrc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index be6c8bd..cc62dcc 100644 --- a/.bashrc +++ b/.bashrc @@ -199,11 +199,19 @@ function purge() { } function 7zipp() { - if [ $1 = "l" ] - then + case $1 in + "l" | "x") command 7z $@ - else + ;; + + "a") read -p "Kompressionsstufe " KOMP command 7z -mhe=on -p -mx=$KOMP $@ - fi + ;; + + *) + command 7z $@ + ;; + + esac }