chiark / gitweb /
bashrc, emacs, dot-emacs.el: Fix prompts for unusual user names.
[profile] / dot-emacs.el
index 0ff6020570e308bac3b031b013d8a9369c36dce6..8674c1ac7c6bfc8a95cc3a69725c7c45bdd0f4c9 100644 (file)
@@ -1750,7 +1750,7 @@ (defun mdw-sh-mode-setup ()
            'comint-watch-for-password-prompt))
 
 (defun mdw-term-mode-setup ()
            'comint-watch-for-password-prompt))
 
 (defun mdw-term-mode-setup ()
-  (setq term-prompt-regexp "^[^]#$%>»\n]*[]#$%>»] *")
+  (setq term-prompt-regexp "^[^]#$%>»}\n]*[]#$%>»}] *")
   (make-local-variable 'mouse-yank-at-point)
   (make-local-variable 'transient-mark-mode)
   (setq mouse-yank-at-point t)
   (make-local-variable 'mouse-yank-at-point)
   (make-local-variable 'transient-mark-mode)
   (setq mouse-yank-at-point t)