Ignore duplicates in comint history