From ba4afb2e57f1c42c5e0b57232a6a1a4605e2b85b Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 10 Jan 2025 13:17:15 +0000 Subject: better histcontrol --- .bashrc | 1 + 1 file changed, 1 insertion(+) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index ee507e8..459d9e8 100644 --- a/.bashrc +++ b/.bashrc @@ -8,6 +8,7 @@ alias clr="echo -ne '\033c'" alias mv="mv -i" alias cp="cp -i" export history_control=ignoreboth +export HISTCONTROL="$history_control" export command_oriented_history export HISTIGNORE='&:[bf]g:exit:ls' -- cgit v1.2.3