From: Mark Wooding Date: Thu, 8 Apr 2010 19:34:16 +0000 (+0100) Subject: dot/emacs: Twiddle `{shell,comint}-file-name-chars'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/423716a683151fcf49a314a97edaf7d4e9c5a8a5?ds=sidebyside;hp=--cc dot/emacs: Twiddle `{shell,comint}-file-name-chars'. At last, command completion works properly. --- 423716a683151fcf49a314a97edaf7d4e9c5a8a5 diff --git a/dot/emacs b/dot/emacs index c53cdaa..98852a4 100644 --- a/dot/emacs +++ b/dot/emacs @@ -770,7 +770,9 @@ (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.