# # Custom .bashrc for {Fedora,Ubuntu,Debian,Arch} Linux systems # # Copyright 2001-2021 Bernie Innocenti # Please send your improvements back to me # # If not running interactively, don't do anything [ -z "$PS1" ] && return # Source global definitions (Fedora uses /etc/bashrc, all others /etc/bash.bashrc) [ -f /etc/bashrc ] && . /etc/bashrc [ -f /etc/bash.bashrc ] && . /etc/bash.bashrc [ -z "$BASH_COMPLETION" ] && [ -f /etc/bash_completion ] && . /etc/bash_completion shopt -s autocd extglob checkwinsize no_empty_cmd_completion shopt -s cmdhist histappend bind "set completion-ignore-case on" bind "set completion-map-case on" HISTSIZE=10000 HISTFILESIZE=1000000 HISTIGNORE='ll:ls:bg:fg:history' HISTCONTROL=ignorespace HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S ' # Save and reload the history after each command finishes PROMPT_COMMAND="history -a; history -n; $PROMPT_COMMAND" [[ -f ~/.zzz_profile.sh ]] && source ~/.zzz_profile.sh || : [[ -f ~/.bashrc.local ]] && source ~/.bashrc.local || : #[[ -f ~/.fzf.bash ]] && source ~/.fzf.bash || : [[ -f ~/.atuin.bash ]] && source ~/.atuin.bash || :