summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 13:27:39 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 13:27:39 +0100
commit66b147d8ba0492dea435142de820a627e20a2101 (patch)
tree90c530a1b0eef07bce6e9956e4513d66f063057e
parentd6be8c60a519d079fe995a4f518864338b318245 (diff)
Bash increase history length + ignore duplicates
-rw-r--r--.bashrc4
1 files 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