git hard-codes use of /bin/sh for aliases
- From
- Thorsten Glaser <tglaser@b1-systems.de>
- Date
- May 11, 2026, 21:13 UTC
- Message-ID
- <6791cb26-16af-dcda-1dae-82b85da6fb0f@b1-systems.de>
Hi,
git aliases don’t use the user’s shell but a hardcoded /bin/sh, and this cannot be made configurable.
This, unfortunately, breaks quite some aliases and they cannot be made portable by adding something like core.sh = /bin/mksh to the .gitconfig.
I’d love if this could be made configurable.
bye, //Thorsten
-- Thorsten Glaser Linux / Unix Developer Tel.: +49 160 91168501 E-Mail: tglaser@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / https://www.b1-systems.de/ GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt, HRB 3537