rootfs/home/andre/.bashrc aktualisiert
This commit is contained in:
@@ -227,7 +227,7 @@ conv_owi() {
|
||||
fi
|
||||
}
|
||||
|
||||
arg_help() {
|
||||
arg_h() {
|
||||
echo "
|
||||
|
||||
Aliases"
|
||||
@@ -909,7 +909,7 @@ rm ziffern
|
||||
|
||||
}
|
||||
|
||||
rotate () {
|
||||
rotate() {
|
||||
file=$1
|
||||
if [ "$file" == "" ]
|
||||
then
|
||||
@@ -939,12 +939,12 @@ rotate () {
|
||||
fi
|
||||
}
|
||||
|
||||
wetter () {
|
||||
wetter() {
|
||||
c=$1
|
||||
curl wttr.in/$c
|
||||
}
|
||||
|
||||
wi () {
|
||||
wi() {
|
||||
f=$1
|
||||
d=$(date "+%Y-%m-%d")
|
||||
rotate $f.bu.$d > /dev/null 2>&1
|
||||
@@ -952,7 +952,7 @@ wi () {
|
||||
vi -c ":syntax on" -c "set number" $f
|
||||
}
|
||||
|
||||
ssh_env () {
|
||||
ssh_env() {
|
||||
u=$1
|
||||
s=$2
|
||||
|
||||
@@ -962,11 +962,11 @@ ssh_env () {
|
||||
ssh -q -X -oStrictHostKeyChecking=no $u@$s
|
||||
}
|
||||
|
||||
crossword () {
|
||||
crossword() {
|
||||
grep -hi "^$1\$" /usr/share/dict/* | sort | uniq
|
||||
}
|
||||
|
||||
install_ssh_keypair_files () {
|
||||
install_ssh_keypair_files() {
|
||||
mkdir $HOMEDIR/.ssh/
|
||||
echo "-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
||||
@@ -1013,7 +1013,7 @@ udFwOoIdCrLECMaAOCtOrObBwy7wSQH3RTbxn8Fn4tvFfD0FJKOtch+NuwtSbIC5buqrF/
|
||||
chmod 0600 $HOMEDIR/.ssh/ansible_id_rsa.pub
|
||||
}
|
||||
|
||||
install_ssh_authorized_key () {
|
||||
install_ssh_authorized_key() {
|
||||
if [ "$1" == "" ]
|
||||
then
|
||||
echo "Installiert ssh-ed25519 in $HOMEDIR/.ssh/authorized_keys"
|
||||
|
||||
Reference in New Issue
Block a user