Hello,
When running org-babel shell snippets in *session*, I stumbled upon
the following problem:
Output shown in my .org file is already formatted:
1. Starting white spaces are lost
2. All code before first ">", "$" or "#" (prompt related?) is lost
Here is a minimal example (run it twice, first time when opening a
new session it is working)
#+begin_src sh :results output :session org-sh-test
echo " too$ foo"
echo " too$ foo"
#+end_src
#+RESULTS:
:
: foo
: too$ foo
Is there a way or some org-babel options to avoid this behavior?
I see how this formatting can be beneficial in many cases, but this
doesn't apply for mine.
Best regards,
Luka