chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1f50413
)
dot/emacs: Improve shell-mode detection of password prompts.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Jun 2010 18:32:51 +0000
(19:32 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 3 Jun 2010 18:33:48 +0000
(19:33 +0100)
It's missing catacomb pixie prompts.
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index 29974a64b9f2df8137143547518d794bf8b11140..2a5522d96e718fefd963cff39e3aa612de2a5ef3 100644
(file)
--- 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)