Make tramp-shell-prompt-pattern bit more reliable
This commit is contained in:
parent
1a20196a82
commit
59c8075c72
|
@ -3580,7 +3580,7 @@ prompt recognition.
|
|||
#+begin_src emacs-lisp
|
||||
(after! tramp
|
||||
(setenv "SHELL" "/bin/bash")
|
||||
(setq tramp-shell-prompt-pattern "\\(?:^\\|
\\)[^]#$%>\n]*#?[]#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*")) ;; default +
|
||||
(setq tramp-shell-prompt-pattern "\\(?:^\\|\n\\|\x0d\\)[^]#$%>\n]*#?[]#$%>] *\\(\e\\[[0-9;]*[a-zA-Z] *\\)*")) ;; default +
|
||||
#+end_src
|
||||
|
||||
**** Troubleshooting
|
||||
|
|
Loading…
Reference in New Issue