config-bash/profile.d/history

9 lines
240 B
Plaintext
Raw Normal View History

2013-04-24 16:58:31 +02:00
#!/bin/bash
# Customize history format
export HISTSIZE=5000
export HISTFILESIZE=20000
export HISTTIMEFORMAT="[%d/%m/%Y %H:%M:%S] "
export HISTCONTROL="ignoreboth"
2019-03-18 10:21:07 +01:00
export HISTIGNORE="history*:exit:reboot:^rm:[bf]g:ls:ll:help:man:mutt:pass"