Eshell: Discard "cd" calls from history

master
Pierre Neidhardt 2019-02-04 19:13:17 +01:00
parent 3a88ea3e59
commit 5cc5776566
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@
;; (including Emacs/Eshell functions).
;; (/= eshell-last-command-status 0)
(string= "" str)
(string= "cd" str)
(string-prefix-p "cd " str)
(string-prefix-p " " str)))))
;;; Shared history.