Function: comint-add-to-input-history

Add CMD to the input history.
Ignore duplicates if `comint-input-ignoredups' is non-nil.

(fn CMD)