Ravi Kiran Chilakapati <ravikiran.chilakap...@gmail.com> writes:

> I have the following org file, and I'd like to understand this
> behavior better. Specifically, I'm curious why my `#+RESULTS:` blocks
> only returns the output when I use `sh` code blocks, as opposed to
> when I use `shell` or `zsh`.

There is something weird about the output zsh produces:

"echo $SHELL\33[?2004l\15\15\n/bin/bash\n%                                      
                                                    \15 \15\15𒆸 \33[?2004hecho 
'org_babel_sh_eoe'\33[?2004l\15\15\norg_babel_sh_eoe\n%                         
                                                                 \15 \15\15𒆸 
\33[?2004h" 

Note the many \15 (\r) before 𒆸 prompt and all those ANSI escapes.

Org gets confused by such awkward formatting and completely messes
things up.



-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to