diff --git a/lua/lazygit/utils.lua b/lua/lazygit/utils.lua index 469d9a4..f8a43ac 100644 --- a/lua/lazygit/utils.lua +++ b/lua/lazygit/utils.lua @@ -57,6 +57,7 @@ local function project_root_dir() local cwd = vim.loop.cwd() local root = get_root(cwd) if root == nil then + vim.o.shell = oldshell return nil end