[EShell] Show history of previous commands in order of usage
This commit is contained in:
parent
60f4a1cc0a
commit
3522387e90
|
@ -45,8 +45,7 @@
|
||||||
;; directly taken from Howard Abrams
|
;; directly taken from Howard Abrams
|
||||||
(interactive)
|
(interactive)
|
||||||
(insert (completing-read "Eshell history: "
|
(insert (completing-read "Eshell history: "
|
||||||
(delete-dups
|
(seq-uniq (ring-elements eshell-history-ring)))))
|
||||||
(ring-elements eshell-history-ring)))))
|
|
||||||
|
|
||||||
|
|
||||||
;; Git Completion
|
;; Git Completion
|
||||||
|
|
Loading…
Reference in New Issue