1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# ~/.bashrc test -f $HOME/.shrc && . $HOME/.shrc # History HISTFILESIZE=-1 HISTSIZE=100000 shopt -s histappend shopt -s histreedit shopt -s histverify HISTTIMEFORMAT="%FT%T%z" HISTCONTROL=erasedups HISTIGNORE='&:[ ]*' HISTIGNORE="$HISTIGNORE:ls:exit:cd" PROMPT_COMMAND="history -a;${PROMPT_COMMAND:-:}"