From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Smith Subject: run bash sessions without config files Date: Wed, 02 Aug 2017 11:53:16 -0400 Message-ID: <1501689196.1375659.1060951736.32EAA9C0@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcvxb-0008Rx-Du for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcvxX-0004Om-Dc for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:53:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41347) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcvxX-0004OD-0f for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 11:53:19 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 02E572097F for ; Wed, 2 Aug 2017 11:53:17 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org-Mode Help Hi, I use shell-mode a lot, and have a very complex prompt, coloured with escape codes and lots of bells and whistles. This appears to confuse org-babel when I'm running code blocks in a session, similar to what's described here: https://emacs.stackexchange.com/questions/19735/emacs-freezes-with-any-org-babel-snippet-using-session Is it possible to configure org-babel to ignore any customization files, such as .emacs.d/init_bash.el and .bashrc? As a workaround, I redefine PS1 and PS2 at the top of my org buffer, which fixes the problem temporarily. I'd like a permanent fix if possible. Best, Tyler -- plantarum.ca