chiark
/
gitweb
/
~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 4969f2933afc0a766ad025a2b4471605a0c76fde..e6b00c0941a0d5dac44487923bf63ad25a496e9e 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2081,7
+2081,7
@@
(defun mdw-eshell-prompt ()
(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)