Description
Describe the bug
When I run any custom command, lazygit will be suspended with the last bit of output being
Press enter to return to lazyget
If I run lazy git from other program, for example, neovim, lazygit will just hangs permanently (because of the suspension, I think)
The custom command is git pull --all
. Full output.
+ /bin/zsh -i -c git pull --all; exit $?
Already up to date.
Press enter to return to lazygitzsh: suspended (tty input) lazygit
To Reproduce
Steps to reproduce the behavior:
- Open lazygit
- Run custom command
git fetch --all
- lazygit is suspended to background
Expected behavior
Lazygit is not suspended and I am brought back to the tty.
Screenshots

Version info:
Lazygit: commit=101bbb0ac56a1cf594301f45bda22c551f1aa870, build date=2025-02-22T11:33:02Z, build source=binaryRelease, version=0.47.1, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
git: git version 2.39.5 (Apple Git-154)
Additional context
If I run fg
after lazygit is suspended, I'm brought back the lazygit instance and can quit the program with a shortcut q
.