diff --git a/profile.d/history b/profile.d/history index 6d7d972..0139525 100644 --- a/profile.d/history +++ b/profile.d/history @@ -5,4 +5,4 @@ export HISTSIZE=5000 export HISTFILESIZE=20000 export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] " export HISTCONTROL="ignoreboth" -export HISTIGNORE="[bf]g:exit:history*:*rm*-rf*:*rm*-f*:reboot:ls:ll:man:mutt" +export HISTIGNORE="[bf]g:exit:history*:^rm:reboot:ls:ll:man:mutt"