about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-07-22T00·26+0200
committerVincent Ambo <vincent@spotify.com>2013-07-22T00·26+0200
commit818b2eb2d5349935055304150a50651fa13b18b1 (patch)
treea344457d60c3512e6bb6b62a4053f35bcd66e498
parent817ebc39e4f82147472a334d67e8070b6c6a75ae (diff)
emacs: Eshell prompt regexp
-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