X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/4983780af98c0465162b06554cd55ffcd213cfcd..ac4ae7cd064e82a554a00738042645a91c334579:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 2a7796a..c291fdd 100644 --- a/dot/emacs +++ b/dot/emacs @@ -724,7 +724,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\\):"))