Ben Sturmfels

Ben Sturmfels at

Don't forget something like this to keep lots of shell history too:

# Bash history
#
# Write to history file immediately (rather than only when shell is closed). For
# setting history length see HISTSIZE and HISTFILESIZE in bash(1). Don't put
# duplicate lines in the history.
shopt -s histappend
PROMPT_COMMAND='history -a'
HISTSIZE=1000000
HISTFILESIZE=1000000
HISTTIMEFORMAT=1
HISTCONTROL=ignoredups:ignorespace

I have a feeling a copied that from a @Bradley M. Kuhn example at some point.