config-bash/profile.d/history
2015-09-18 12:10:53 +02:00

9 lines
230 B
Bash

#!/bin/bash
# Customize history format
export HISTSIZE=5000
export HISTFILESIZE=20000
export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "
export HISTCONTROL="ignoreboth"
export HISTIGNORE="[bf]g:exit:history*:^rm:reboot:ls:ll:man:mutt"