severity 25838 minor tags 25838 patch quit Thomas Ferreira writes: > In eshell: > > ~ $ history > 1 history > ~ $ eshell/clear > [...] > ~ $ > [...] > ~ $ history > 1 history > 2 eshell/clear > 3 > [...] > 4 history > > An easy (dirty?) way to fix it could be override eshell-input-filter (from em-hist.el): IMO, it should be filtering out newlines anyway, but since it is customizable, it's not quite a satisfactory fix. We should also disable eshell-add-to-history while sending the `eshell/clear'ing lines: