.bashrc aktualisiert
This commit is contained in:
22
.bashrc
22
.bashrc
@ -114,8 +114,8 @@ fi
|
||||
|
||||
####### Standard #########
|
||||
alias ls='ls -lhp --group-directories-first --color=auto '
|
||||
rm() { echo "Bitte del benutzen!"; }
|
||||
7z() { echo "Bitte 7zippadd, 7zipplist oder 7unzipp benutzen!"; }
|
||||
function rm() { echo "Bitte del benutzen!"; }
|
||||
function 7z() { echo "Bitte 7zipp benutzen!"; }
|
||||
# alias ssher='/bin/bash $HOME/ssher.sh'
|
||||
alias sshlogin='/bin/bash "$GIT_PFAD/ssh-cert-login/login.sh"'
|
||||
|
||||
@ -198,16 +198,12 @@ function purge() {
|
||||
esac
|
||||
}
|
||||
|
||||
function 7zipadd() {
|
||||
function 7zipp() {
|
||||
if [ $1 -eq "l" ]
|
||||
then
|
||||
command 7z $@
|
||||
else
|
||||
read -p "Kompressionsstufe " KOMP
|
||||
\7z -mhe=on -p -mx=$KOMP $@
|
||||
}
|
||||
|
||||
function 7zipplist() {
|
||||
\7z l $@
|
||||
|
||||
}
|
||||
|
||||
function 7unzipp() {
|
||||
\7z x $@
|
||||
command 7z -mhe=on -p -mx=$KOMP $@
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user