From 20942d9cb1ee9573e6d7101d582f4b13897bce25 Mon Sep 17 00:00:00 2001 From: andre Date: Mon, 12 Jan 2026 17:41:02 +0100 Subject: [PATCH] rootfs/home/andre/.bashrc aktualisiert --- rootfs/home/andre/.bashrc | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/rootfs/home/andre/.bashrc b/rootfs/home/andre/.bashrc index dd2681a..76f95a6 100644 --- a/rootfs/home/andre/.bashrc +++ b/rootfs/home/andre/.bashrc @@ -1,9 +1,6 @@ ### -### Version vom 29. November 2025 (1) +### 12. Januar 2026 ### -# -# set +o history; source <(curl -k https://tools.andregeissler.de/bashrc) ; set -o history; history -c -# export HISTCONTROL=ignoreboth:erasedups export HISTFILESIZE=20000 @@ -16,19 +13,10 @@ alias ll='ls -haltr' alias ppm="sudo perl -MCPAN -e 'shell'" alias RDPC='RDP 10.101.0.236' -#alias __activate_bashrc='set +o history; source <(curl -k https://tools.andregeissler.de/bashrc) ; set -o history ; history -c' -#alias __backup_bashrc='set +o history; scp -P 2222 $HOMEDIR/.bashrc andregeissler@vesta.agserver.de:$HOMEDIR/web/tools.andregeissler.de/public_html/bashrc ; set -o history' -#alias __restore_bashrc='set +o history; scp -P 2222 andregeissler@vesta.agserver.de:$HOMEDIR/web/tools.andregeissler.de/public_html/bashrc $HOMEDIR/.bashrc ; set -o history' - -#alias __backup_ssh_host_config='set +o history; scp -P 2222 $HOMEDIR/.ssh/config andregeissler@vesta.agserver.de:$HOMEDIR/web/tools.andregeissler.de/public_html/ssh_host_config ; set -o history' -#alias __restore_ssh_host_config='set +o history; scp -P 2222 andregeissler@vesta.agserver.de:$HOMEDIR/web/tools.andregeissler.de/public_html/ssh_host_config $HOMEDIR/.ssh/config ; set -o history' -#alias __ssh_host_config=__restore_ssh_host_config alias ssh_h='egrep "^# " .ssh/config' alias ßh=ssh alias TS='ts "%Y-%m-%d %H:%M:%S"' - alias clear_history="history -c && history -w && clear" - alias extip='echo $(curl --connect-timeout 5 -s https://ipinfo.io/ip)' alias grep='grep --line-buffered' alias egrep='egrep --line-buffered' @@ -383,13 +371,13 @@ AddTimeDateToPictures() { if [[ $J =~ ^[a-z0-9]+_[a-z0-9.]+_[0-9]+\.jpg$ ]]; then FS2=$(bc -l <<< "$FS+25" | awk -F. '{print $1}') - convert $J -gravity SouthWest -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J; + convert $J -gravity SouthWest -pointsize $FS -font Courier-10-Pitch-Regular -fill white -undercolor black -annotate +0+$FS2 "Position $POSITION" $J; mv "$J" "I${J##*_}" else # zusammengesetzer datums-, zeitstring in bild einfügen (mittig oben) - convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+0 "Datum $DAY. $MONTH $YEAR Zeit $TIME" $J; + convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill white -undercolor black -annotate +0+0 "Datum $DAY. $MONTH $YEAR Zeit $TIME" $J; FS2=$(bc -l <<< "$FS+25" | awk -F. '{print $1}') - convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J; + convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill white -undercolor black -annotate +0+$FS2 "Position $POSITION" $J; fi