Files
h0tznpl0tzandClaude 069c8899c8 userprofiles zu bashprofiles umbenannt und vollständig dokumentiert
- Verzeichnis userprofiles/ → bashprofiles/ umbenannt
- .gitignore auf neue Pfadstruktur angepasst
- Umfassendes bashprofiles/README.md mit Installation und Anpassungen
- bashprofiles als eigene Kategorie in main README integriert
- How-To Anleitung um bashprofiles erweitert

Die bashprofiles enthalten optimierte Bash-Konfigurationen mit erweiterter
History, modularer Struktur und Performance-Optimierungen für Support-Umgebungen.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 12:35:05 +02:00

67 lines
1.5 KiB
Bash

# CLEANED UPDATED BASHRC
# ~/.bashrc — interactive non-login shells
# Exit early if non-interactive
case $- in
*i*) ;;
*) return;;
esac
##### History #####
HISTCONTROL=ignoreboth:erasedups
shopt -s histappend
HISTSIZE=99999999
HISTFILESIZE=99999999
HISTTIMEFORMAT="%Y-%m-%d %T "
PROMPT_COMMAND='history -a; history -n'
shopt -s cmdhist
shopt -s lithist
shopt -s checkwinsize
##### Debian chroot prompt helper #####
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
##### Prompt #####
if [ -x /usr/bin/tput ] && tput setaf 1 >/dev/null 2>&1; then
color_prompt=yes
else
color_prompt=
fi
if [ "$color_prompt" = yes ]; then
PS1='\[\033[01;31m\]\u\[\033[01;33m\]@\[\033[01;36m\]\h \[\033[01;33m\]\w \[\033[01;35m\]\$ \[\033[00m\]'
else
PS1='\u@\h \w \$ '
fi
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
esac
##### LS-Farben & dircolors #####
if [ -x /usr/bin/dircolors ]; then
if [ -r "$HOME/.dircolors" ]; then
eval "$(dircolors -b "$HOME/.dircolors")"
else
eval "$(dircolors -b)"
fi
fi
##### Bash-Completion #####
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
##### Ausgelagerte Dateien #####
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases"
[ -f "$HOME/.bash_env" ] && . "$HOME/.bash_env"
[ -f "$HOME/.bash_paths" ] && . "$HOME/.bash_paths"