[EShell] Show history of previous commands in order of usage

This commit is contained in:
Daniel - 2018-11-03 12:09:54 +01:00
parent 60f4a1cc0a
commit 3522387e90
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 2 deletions

View File

@ -45,8 +45,7 @@
;; directly taken from Howard Abrams
(interactive)
(insert (completing-read "Eshell history: "
(delete-dups
(ring-elements eshell-history-ring)))))
(seq-uniq (ring-elements eshell-history-ring)))))
;; Git Completion