<p>(Premise: let's assume we want the shells to read their config files for the question below)</p>
<p>Question: Don't we actually want to run the shells as <strong>login</strong> non-interactive shells even on linux? The reason I'm asking is that:</p>
<ol>
<li>For sh, it's impossible to specify any config file to be used when run as non-login non-interactive so we can't read .profile. The ENV variable is used to specify sh equivalent of .bashrc for non-login interactive shells so it cannot be used for this purpose.</li>
<li>For bash, we can set BASH_ENV to point to .bash_profile (and possibly fall back to .profile when it doesn't exist), but it won't read for us /etc/profile which might contain something important.</li>
</ol>
<p>In the plots, login non-interactive shells are represented by yellow arrows and IMO this is exactly what we want to happen.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2363?email_source=notifications&email_token=AAIOWJ3I5HGBSQYRXX55DD3QSXKZTA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDTMXEY#issuecomment-551996307">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3Y6JB2XWIAQADPJKDQSXKZTANCNFSM4JBQUAVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYUHX4QKW6MC5U5FDTQSXKZTA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDTMXEY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2363?email_source=notifications\u0026email_token=AAIOWJ3I5HGBSQYRXX55DD3QSXKZTA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDTMXEY#issuecomment-551996307",
"url": "https://github.com/geany/geany/pull/2363?email_source=notifications\u0026email_token=AAIOWJ3I5HGBSQYRXX55DD3QSXKZTA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDTMXEY#issuecomment-551996307",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>