comint-input-ignoredups
comint-input-ignoredups is a variable defined in `comint.el
'.Its value is
nil
Documentation:
If non-nil, don't add input matching the last on the input ring.
This mirrors the optional behavior of bash.
This variable is buffer-local.
You can customize this variable.