3 ms·
Best setting I've seen: HISTCONTROL=ignoredups:erasedups shopt -s histappend export HISTSIZE=100000 PROMPT_COMMAND="history -n; history -w; history -c;
by tambourine_man 14y ago
Best setting I've seen:
HISTCONTROL=ignoredups:erasedups
shopt -s histappend
export HISTSIZE=100000
PROMPT_COMMAND="history -n; history -w; history -c; history -r; $PROMPT_COMMAND"