[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] run bash sessions without config files
From: |
Tyler Smith |
Subject: |
Re: [O] run bash sessions without config files |
Date: |
Thu, 03 Aug 2017 16:31:34 -0400 |
On Wed, Aug 2, 2017, at 11:53 AM, Tyler Smith wrote:
>
> Is it possible to configure org-babel to ignore any customization files,
> such as .emacs.d/init_bash.el and .bashrc?
>
After some digging around, it looks like this isn't possible.
~org-babel~ starts shell sessions via the standard function ~(shell)~.
Loading ~init_bash.el~ is hard-coded into this function, so there's no
user-visible way to direct Emacs not to read it for org-mode code
blocks, while still using it in other contexts.
Best,
Tyler