From d0e84e3d4171227aa7c85a8f201b63446693b74d Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Fri, 21 Jul 2017 16:48:34 +0200 Subject: [PATCH] Fix: tools/eshell: set prompt-regexp to what eshell expects eshell-prompt-regexp has to be in sync with eshell-prompt-function otherwise certain eshell behavior will not work properly For example: eshell-bol --- modules/tools/eshell/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/tools/eshell/config.el b/modules/tools/eshell/config.el index 9bd0362f0..22adcfdfb 100644 --- a/modules/tools/eshell/config.el +++ b/modules/tools/eshell/config.el @@ -18,6 +18,7 @@ eshell-buffer-shorthand t eshell-kill-processes-on-exit t ;; em-prompt + eshell-prompt-regexp "^.* λ " eshell-prompt-function #'+eshell/prompt ;; em-glob eshell-glob-case-insensitive t @@ -50,6 +51,7 @@ redefines its keys every time `eshell-mode' is enabled." :i "" #'eshell-pcomplete :i "C-u" #'eshell-kill-input :i "SPC" #'self-insert-command + :i "C-a" #'eshell-bol :m "" #'+eshell/evil-append :n [remap evil-window-split] #'+eshell/split :n [remap evil-window-vsplit] #'+eshell/vsplit