From 818b2eb2d5349935055304150a50651fa13b18b1 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 22 Jul 2013 02:26:51 +0200 Subject: [PATCH] emacs: Eshell prompt regexp --- emacs.d/init-eshell.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.d/init-eshell.el b/emacs.d/init-eshell.el index 1a3c53944..59cebe62a 100644 --- a/emacs.d/init-eshell.el +++ b/emacs.d/init-eshell.el @@ -57,6 +57,8 @@ (setq eshell-prompt-function 'prompt-f) (setq eshell-highlight-prompt nil) +(setq eshell-prompt-regexp "^.+? \\((\\(git\\|svn\\|hg\\|darcs\\|cvs\\|bzr\\):.+?) \\)?[$#] ") + ;; EShell functions that come in handy