Marian Schubert <marian.schub...@gmail.com> writes: > Hello, > > I'm having trouble with babel block like this: > > #+BEGIN_SRC shell :results output :session xyz > echo "foo#bar" > #+END_SRC > > #+RESULTS: > : > : bar > > I expect results to be foo#bar, but it's just bar. > If I remove :session xyz it displays correct value, i.e.: I also face issues when there is a session involved with shell. Why don't you try: export PS1=$ at the beginning of the session as the first command and see if this fixes it for you? > #+RESULTS: > : foo#bar > > Any idea what might be wrong? > > Best regards, > Marian >
-- Narendra Joshi