diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2021-04-09 00:13:44 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2021-04-09 00:13:44 -0600 |
commit | bcb164eb71a1c6bc1ab34ad3841989982ae9ba00 (patch) | |
tree | adef19b488de5741506de8d2c3a5f5cb17c31844 | |
parent | 579c4a6228284baf3625d39aac71627afc8b53a6 (diff) | |
download | dotfiles-bcb164eb71a1c6bc1ab34ad3841989982ae9ba00.tar.gz dotfiles-bcb164eb71a1c6bc1ab34ad3841989982ae9ba00.tar.xz |
emacs: eshell: ignore duplicate history
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
-rw-r--r-- | config/emacs/emacs.d/lisp/init-eshell.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/emacs/emacs.d/lisp/init-eshell.el b/config/emacs/emacs.d/lisp/init-eshell.el index 5c5873e1..61c6765e 100644 --- a/config/emacs/emacs.d/lisp/init-eshell.el +++ b/config/emacs/emacs.d/lisp/init-eshell.el @@ -118,6 +118,7 @@ left to try and get the PATH down to, at most, MAX-LEN." (setq eshell-prompt-function #'kb-eshell-prompt) (setq eshell-highlight-prompt nil) (setq eshell-history-size 4096) +(setq eshell-history-ignoredups t) (setq eshell-prompt-regexp "(.*)(.*)\\(\\[.*\\]\\)?[%±] ") (dolist (cmd '("vim" "yarn" |