From d5f85a724c80762f697fb7ca7ff7c0a711ce4018 Mon Sep 17 00:00:00 2001 From: mattiaborsarini Date: Wed, 11 Aug 2021 15:12:59 +0200 Subject: [PATCH] bashrc.cust: Set custom history control * ignoredups: ignore duplicate commands * ignorespace: ignore commands beginning with a space --- bashrc.cust | 1 + 1 file changed, 1 insertion(+) diff --git a/bashrc.cust b/bashrc.cust index 100ed75..3c073f4 100644 --- a/bashrc.cust +++ b/bashrc.cust @@ -11,6 +11,7 @@ shopt -s checkjobs # Variables +export HISTCONTROL="ignoredups:ignorespace" export LESSHISTFILE=-