From: Mark Wooding Date: Thu, 3 Jun 2010 18:32:51 +0000 (+0100) Subject: dot/emacs: Improve shell-mode detection of password prompts. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/c70b4880bd12cb736dc0ac27b9922704a5cbde49 dot/emacs: Improve shell-mode detection of password prompts. It's missing catacomb pixie prompts. --- diff --git a/dot/emacs b/dot/emacs index 29974a6..2a5522d 100644 --- a/dot/emacs +++ b/dot/emacs @@ -774,7 +774,7 @@ (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\\):") + "[Pp]assword\\|[Pp]ass ?phrase\\(\\| [-a-zA-Z0-9._]+\\)\\):") comint-file-name-chars "~/A-Za-z0-9+@:_.$#%,={}-" shell-file-name-chars comint-file-name-chars)