emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] babel: fancy prompt messes up results of shell block


From: Loris Bennett
Subject: [O] babel: fancy prompt messes up results of shell block
Date: Fri, 11 Sep 2015 10:29:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

I have a bit of a fancy bash prompt and so the output of evaluating a
block of shell script ends up a little messy:

#+BEGIN_SRC sh :session install :results output
echo blah
#+END_SRC

#+RESULTS:
: blah
: ]2;address@hidden:21:45] address@hidden [36m(1058) [33m/home/loris/tmp[34m[0m

Is there any way to avoid this short of resetting PS1 within the babel
session?

Cheers,

Loris

-- 
This signature is currently under construction.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]