HISTCONTROL=erasedups can also help keeping more obscure commands in your history, at the expense of context around commands.