~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dot/emacs, el/dot-emacs.el: Fix patterns for root prompt.
[profile]
/
el
/
dot-emacs.el
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index
4969f29
..
e6b00c0
100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2081,7
+2081,7
@@
strip numbers instead."
(eshell/pwd)
right)))
(setq eshell-prompt-function 'mdw-eshell-prompt)
-(setq eshell-prompt-regexp "^\\[[^]
]+\\]
")
+(setq eshell-prompt-regexp "^\\[[^]
>]+\\(\\]\\|>>?\\)
")
(defalias 'eshell/e 'find-file)
(defalias 'eshell/w3m 'w3m-goto-url)