1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
a6a68778ea Move NewDummyCommon to pkg/common
It's too special for a utils package, and it als makes sense to put it right
next to the thing that it is a dummy for.
2025-05-06 09:43:26 +02:00
4e5e21f946 Revert commits related to using an interactive shell for running shell commands
This reverts commits f28b6f439d, dbd407c01d, 5fac40c129, and 5a3049485c.
2025-04-07 14:35:40 +02:00
5fac40c129 Fix hang when returning from shell command
In 5a3049485c we changed the execution of shell commands to use an interactive
shell (-i), because this allows users to use aliases or shell functions, which
is a nice convenience.

Since then, however, many users have reported problems with lazygit not coming
back to the foreground after executing a shell command. Some users report that
appending "; exit" to the end of the command line solves this. I don't really
understand what the cause of this problem was, or why appending "; exit" solves
it, but if it helps, let's do it.
2024-12-28 14:53:57 +01:00
5a3049485c Use an interactive shell for running custom commands
Also, use the user's shell (from the SHELL env variable) instead of bash. Both
of these together allow users to use their shell aliases or shell functions in
the interactive command prompt.
2024-08-17 10:32:18 +02:00
df3cd941d7 use tempdir in tests to prevent polluting worktree 2022-11-13 14:10:21 +11:00
86c259623c feat: fix permission problem of temp dirs 2022-04-02 08:48:38 +11:00
3621854dc7 fix tests 2022-01-09 14:09:53 +11:00
f503ff1ecb start breaking up git struct 2022-01-09 14:09:53 +11:00
91fe68576c refactor 2022-01-07 10:52:51 +11:00
95b2e9540a update tests 2022-01-04 09:07:15 +11:00
2cb8aff940 no more mocking command 2022-01-04 09:07:15 +11:00
25195eacee WIP 2022-01-04 09:07:15 +11:00
9b2b0fc122 WIP 2022-01-04 09:07:15 +11:00
b028f37ba8 updating specs 2022-01-04 09:07:15 +11:00
18ab086126 introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
1759ddf247 move OS commands into their own package 2020-09-29 20:48:49 +10:00