emacs: Eshell prompt regexp
This commit is contained in:
parent
817ebc39e4
commit
818b2eb2d5
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@
|
||||||
|
|
||||||
(setq eshell-prompt-function 'prompt-f)
|
(setq eshell-prompt-function 'prompt-f)
|
||||||
(setq eshell-highlight-prompt nil)
|
(setq eshell-highlight-prompt nil)
|
||||||
|
(setq eshell-prompt-regexp "^.+? \\((\\(git\\|svn\\|hg\\|darcs\\|cvs\\|bzr\\):.+?) \\)?[$#] ")
|
||||||
|
|
||||||
|
|
||||||
;; EShell functions that come in handy
|
;; EShell functions that come in handy
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue