summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 5f9e33c..cd42714 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2277,7 +2277,8 @@ With two prefix arguments, write out the day and month name."
                   eshell-prompt-function (lambda ()
                                            (concat
                                             (eshell/pwd)
-                                            "\n$ ")))
+                                            "\n$ "))
+                  eshell-prompt-regex (rx bol (char "$") blank))
             (define-hook-helper eshell-load ()
               (bind-key "C-c C-l" #'counsel-esh-history eshell-mode-map))))