From 3522387e905c2b454dd114a07cab1a4ff563b061 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 3 Nov 2018 12:09:54 +0100 Subject: [PATCH] [EShell] Show history of previous commands in order of usage --- site-lisp/db-eshell.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site-lisp/db-eshell.el b/site-lisp/db-eshell.el index 18b98c9..9c6f290 100644 --- a/site-lisp/db-eshell.el +++ b/site-lisp/db-eshell.el @@ -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