bashrc: Add commands to history immediately

This commit is contained in:
Lexi / Zoe 2026-04-08 13:51:15 +02:00
parent bec5fb2084
commit 2ef36eb976
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232

View file

@ -11,9 +11,10 @@ set -o noclobber
shopt -s checkwinsize shopt -s checkwinsize
shopt -s histappend shopt -s histappend
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
HISTSIZE=20000 HISTSIZE=10000
HISTFILESIZE=20000 HISTFILESIZE=100000
PROMPT_DIRTRIM=3 PROMPT_DIRTRIM=3
PROMPT_COMMAND+=('history -a')
# Save and display timestamps for history # Save and display timestamps for history
HISTTIMEFORMAT="[%F %T] " HISTTIMEFORMAT="[%F %T] "