bash: don't save lines matching the previous history entry