From fc859b813aae56e429c6c9385052c8576a08246b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 8 Nov 2024 08:15:05 +0200 Subject: feat(bash): Infinite history (**now in ~/bash_history**) --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index b6f2ad9..55959df 100644 --- a/.bashrc +++ b/.bashrc @@ -207,6 +207,9 @@ # History {{{ bind '"\e[A":history-search-backward' bind '"\e[B":history-search-forward' + # Thanks to https://stackoverflow.com/a/19533853 + shopt -s histappend + export HISTCONTROL=ignoredups HISTFILESIZE= HISTSIZE= HISTFILE=~/bash_history # }}} # Changing directory {{{ -- cgit v1.2.3