From 2ef36eb976b764d9669e8243011c5bbe0929c650 Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Wed, 8 Apr 2026 13:51:15 +0200 Subject: [PATCH] bashrc: Add commands to history immediately --- .bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index d69d7b3..9ac27dc 100644 --- a/.bashrc +++ b/.bashrc @@ -11,9 +11,10 @@ set -o noclobber shopt -s checkwinsize shopt -s histappend HISTCONTROL=ignoreboth -HISTSIZE=20000 -HISTFILESIZE=20000 +HISTSIZE=10000 +HISTFILESIZE=100000 PROMPT_DIRTRIM=3 +PROMPT_COMMAND+=('history -a') # Save and display timestamps for history HISTTIMEFORMAT="[%F %T] "