12 lines
352 B
Bash
12 lines
352 B
Bash
cite about-plugin
|
|
about-plugin 'improve history handling with sane defaults'
|
|
|
|
# append to bash_history if Terminal.app quits
|
|
shopt -s histappend
|
|
|
|
# erase duplicates; alternative option: export HISTCONTROL=ignoredups
|
|
export HISTCONTROL=${HISTCONTROL:-ignorespace:erasedups}
|
|
|
|
# resize history to 100x the default (500)
|
|
export HISTSIZE=${HISTSIZE:-50000}
|