-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Describe the bug
lazygit
is not using the default shell in the "Command log". It seems to always use bash
specifically in this window, but I have been unable to test this further as I don't want to remove the bash binary. And it is changing the locale to 'en_US.UTF-8', which I do not have installed.
To Reproduce
Steps to reproduce the behavior:
- Configure default shell to not be
bash
. Remove 'en_US.UTF-8' from locales. - Open lazygit, and view "Command log" window.
- Should see log regarding locale.
Expected behavior
Either lazygit
should use the default shell always, or it should allow for configuring the locale used by bash.
Screenshots
I get this warning continuously in the lazygit
"Command log" window:
Default shell (zsh):
grep
whoami
/etc/passwd
fough:x:1000:1000:,,,:/home/fough:/usr/bin/zsh
Version info:
lazygit: commit=bc4b50f817a0b82393a872f96b04a77f769ae929, build date=2025-07-05T02:32:23Z, build source=binaryRelease, version=0.53.0, os=linux, arch=arm64, git version=2.39.5
git: git version 2.39.5