<p>I've reuploaded the patch where shell is configurable to be arbitrary shell and where the shells are started as login shells. There's much more detailed explanation in the commit message.</p>
<p>As I almost know what I'm doing now compared to the times I made the previous commit, I understand now why macOS terminals run as login shell. The thing is that on linux ~/.profile is loaded on login by display manager, e.g. here for LightDM:</p>
<p><a href="https://wiki.archlinux.org/index.php/LightDM#Environment_variables" rel="nofollow">https://wiki.archlinux.org/index.php/LightDM#Environment_variables</a></p>
<p>There's nothing like that on macOS so nothing from .profile is loaded until we run shell as a login shell.</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=AAIOWJ2Y3QNXNDX776FITTLQS4EHXA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUNDQY#issuecomment-552128963">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2ZFMD27Z4W5MK5WHTQS4EHXANCNFSM4JBQUAVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4AH3GX5GICB6I3KOLQS4EHXA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUNDQY.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=AAIOWJ2Y3QNXNDX776FITTLQS4EHXA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUNDQY#issuecomment-552128963",
"url": "https://github.com/geany/geany/pull/2363?email_source=notifications\u0026email_token=AAIOWJ2Y3QNXNDX776FITTLQS4EHXA5CNFSM4JBQUAVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUNDQY#issuecomment-552128963",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>