term-input-ignoredups
term-input-ignoredups is a variable defined in `term.el
'.
Its value is nilDocumentation: 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.