From 820f08e2c2d515a3506bef13d9cafeda7e404e6e Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 18 Nov 2021 09:37:24 -0800 Subject: [PATCH] added history clearing in bashrc --- bashrc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bashrc.txt b/bashrc.txt index 8bc3056b..df8ee061 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -9,6 +9,9 @@ set -o vi bind -m vi-command 'Control-l: clear-screen' bind -m vi-insert 'Control-l: clear-screen' +# clears the history copletely upon loading bash +cat /dev/null > ~/.bash_history && history -c + [[ $- != *i* ]] && return colors() {