about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init-eshell.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs.d/init-eshell.el b/emacs.d/init-eshell.el
index 1a3c5394489e..59cebe62a50d 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