about summary refs log tree commit diff stats
path: root/bashrc
blob: 66a0bc372214501c94f134ca6b69e2d3cea8da3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ~/.bashrc

test -f $HOME/.shrc && . $HOME/.shrc

# History
HISTFILESIZE=-1
HISTSIZE=100000

shopt -s histappend

shopt -s histreedit
shopt -s histverify

HISTTIMEFORMAT="%FT%T%z"

HISTCONTROL=erasedups
HISTIGNORE='&:[ ]*'
HISTIGNORE="$HISTIGNORE:ls:exit:cd"

PROMPT_COMMAND="history -a;${PROMPT_COMMAND:-:}"