<p>I personally don't think adding support for setting arbitrary environment variables in Geany is necessary.</p>

<p>An easy solution would be to specify a specific RC file to the bash command line in Geany's preferences, like <code>bash --rcfile /home/username/.bash_geany.rc</code> and then put anything you need into this RC file and optionally include/source your "real" .bashrc when appropriate.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/918#issuecomment-189619796">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ9wCOamjXU78DNILvyTeYPzqsa0Cks5poX4SgaJpZM4HkdOQ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/918#issuecomment-189619796"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>