X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/ae7460d4559f39809a748eb483ca70917424c50f..47a5be0d6acb3d4d786162f83ae1443fd5b054ae:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 9067aa8..b2c35ec 100644 --- a/dot/emacs +++ b/dot/emacs @@ -726,7 +726,7 @@ ;; Make the shell mode aware of my prompt. -(setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *") +(setq shell-prompt-pattern "^[^]#$%>»}\n]*\\([]#$%»}]\\|>>?\\) *") (setq comint-password-prompt-regexp (concat "\\(\\([Ee]nter \\|[Oo]ld \\|[Nn]ew \\|[a-zA-Z0-9_]*'s \\|^\\)" "[Pp]assword\\|pass phrase\\):"))