chiark / gitweb /
bashrc, emacs, dot-emacs.el: Fix prompts for unusual user names.
[profile] / emacs
diff --git a/emacs b/emacs
index 2b74aefc4b75447759ddd569c2672a413e9c505b..28b3334dcc994a67511b54e57febdabd2ce57d47 100644 (file)
--- a/emacs
+++ b/emacs
 
 ;; --- Make the shell mode aware of my prompt ---
 
-(setq shell-prompt-pattern "^[^]#$%>»\n]*[]#$%>»] *")
+(setq shell-prompt-pattern "^[^]#$%>»}\n]*[]#$%>»}] *")
 (setq comint-password-prompt-regexp
       (concat "\\(\\([Oo]ld \\|[Nn]ew \\|[a-zA-Z0-9_]*'s \\|^\\)"
              "[Pp]assword\\|pass phrase\\):\\s *\\'"))