dot/emacs: Twiddle `{shell,comint}-file-name-chars'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 8 Apr 2010 19:34:16 +0000 (20:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 Apr 2010 19:34:16 +0000 (20:34 +0100)
At last, command completion works properly.

dot/emacs

index c53cdaa..98852a4 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (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\\|pass phrase\\):")
+      comint-file-name-chars "~/A-Za-z0-9+@:_.$#%,={}-"
+      shell-file-name-chars comint-file-name-chars)
 
 ;; Notice passwords, and make C-a work right.