about summary refs log tree commit diff stats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..66a0bc3 --- /dev/null +++ b/bashrc
@@ -0,0 +1,20 @@
1# ~/.bashrc
2
3test -f $HOME/.shrc && . $HOME/.shrc
4
5# History
6HISTFILESIZE=-1
7HISTSIZE=100000
8
9shopt -s histappend
10
11shopt -s histreedit
12shopt -s histverify
13
14HISTTIMEFORMAT="%FT%T%z"
15
16HISTCONTROL=erasedups
17HISTIGNORE='&:[ ]*'
18HISTIGNORE="$HISTIGNORE:ls:exit:cd"
19
20PROMPT_COMMAND="history -a;${PROMPT_COMMAND:-:}"