.bashrc aktualisiert

This commit is contained in:
alf
2025-09-05 09:27:11 +00:00
parent 9a15616663
commit 6cc56d7929

19
.bashrc
View File

@ -115,7 +115,7 @@ fi
####### Standard ######### ####### Standard #########
alias ls='ls -lhp --group-directories-first --color=auto ' alias ls='ls -lhp --group-directories-first --color=auto '
rm() { echo "Bitte del benutzen!"; } rm() { echo "Bitte del benutzen!"; }
7z() { echo "Bitte 7zipp benutzen!"; } 7z() { echo "Bitte 7zippadd, 7zipplist oder 7unzipp benutzen!"; }
# alias ssher='/bin/bash $HOME/ssher.sh' # alias ssher='/bin/bash $HOME/ssher.sh'
alias sshlogin='/bin/bash "$GIT_PFAD/ssh-cert-login/login.sh"' alias sshlogin='/bin/bash "$GIT_PFAD/ssh-cert-login/login.sh"'
@ -198,11 +198,16 @@ function purge() {
esac esac
} }
function 7zipp() { function 7zipadd() {
if [ $1 = "l" ] then
7z l $@
exit 0
fi
read -p "Kompressionsstufe " KOMP read -p "Kompressionsstufe " KOMP
7z -mhe=on -p -mx=$KOMP $@ \7z -mhe=on -p -mx=$KOMP $@
}
function 7zipplist() {
\7z l $@
}
function 7unzipp() {
\7z x $@
} }