eshell-input-filter = eshell-input-filter-initial-space

Don't record a command in history if prefixed with whitespace.
This commit is contained in:
Henrik Lissner 2018-06-28 16:58:28 +02:00
parent 7bb9adc6bd
commit 05bdb1e12c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -54,6 +54,8 @@ You should use `det-eshell-alias!' to change this.")
eshell-buffer-shorthand t
eshell-kill-processes-on-exit t
eshell-hist-ignoredups t
;; don't record command in history if prefixed with whitespace
eshell-input-filter #'eshell-input-filter-initial-space
;; em-prompt
eshell-prompt-regexp "^.* λ "
eshell-prompt-function #'+eshell-default-prompt