From 8a0758571dfddb26328d693935de96a31f67f686 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 31 Dec 2021 12:44:28 +0100 Subject: [PATCH] Minimise bash history --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 5be5b03..16dba11 100644 --- a/.bashrc +++ b/.bashrc @@ -18,12 +18,12 @@ get_git_info() { echo -e " $(get_branch_name)" } - export PS1="\u \w ❭\[$(tput sgr0)\] " # History -export HISTCONTROL=ignoreboth +export HISTCONTROL=ignoreboth:erasedups export HISTSIZE=500000 +export HISTIGNORE="clear:l: *" # Readable man pages export MANWIDTH=120