|
From: | Felix Freeman |
Subject: | Re: babel output seems to drop anything before % (in session) |
Date: | Tue, 07 Jun 2022 18:55:43 -0400 |
> (setq shell-prompt-pattern "^sh-[[:digit:]].[[:digit:]]\$ ") Updated this bit for something better written for emacs and suitable for my use cases: bash and SSH over TRAMP. I'll leave it here in case anyone else needs it in the future: (setq shell-prompt-pattern "^\\(sh-[[:digit:]]\\.[[:digit:]]\\|/ssh:[^:]+:[^$]+\\)$ ") Notice it requires the patch to org-babel-sh-strip-weird-long-prompt posted earlier. I hope I got it right this time ^_^' Felix Freeman
[Prev in Thread] | Current Thread | [Next in Thread] |