From 66b147d8ba0492dea435142de820a627e20a2101 Mon Sep 17 00:00:00 2001 From: adamstuck Date: Sun, 5 Dec 2021 13:27:39 +0100 Subject: Bash increase history length + ignore duplicates --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 0e176c5..7767693 100644 --- a/.bashrc +++ b/.bashrc @@ -1,9 +1,9 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -HISTCONTROL=ignoreboth +HISTCONTROL=ignoreboth:erasedups HISTSIZE=1000 -HISTFILESIZE=2000 +HISTFILESIZE=5000 shopt -s histappend shopt -s checkwinsize -- cgit v1.2.3-70-g09d2