diff options
author | Vincent Ambo <vincent@spotify.com> | 2013-07-22T00·26+0200 |
---|---|---|
committer | Vincent Ambo <vincent@spotify.com> | 2013-07-22T00·26+0200 |
commit | 818b2eb2d5349935055304150a50651fa13b18b1 (patch) | |
tree | a344457d60c3512e6bb6b62a4053f35bcd66e498 /emacs.d | |
parent | 817ebc39e4f82147472a334d67e8070b6c6a75ae (diff) |
emacs: Eshell prompt regexp
Diffstat (limited to 'emacs.d')
-rw-r--r-- | emacs.d/init-eshell.el | 2 |
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 |