Whilst M-p
ing back through history in execute-extended-command
, I see many commands are ones which have already appeared earlier (ie more recently).
Is there an option which works similar to (setq eshell-hist-ignoredups 'erase)
for the command history?
So whenever a new command is executed, all previous invocations are removed from history.