From 1f6c09177a78bd87b596973b30cac78f24f1c550 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 12 Apr 2023 20:01:00 +0200 Subject: Allowed lazygit to use zsh user configuration --- lua/plugins/toggleterm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins/toggleterm.lua b/lua/plugins/toggleterm.lua index a9bd450..f787f46 100644 --- a/lua/plugins/toggleterm.lua +++ b/lua/plugins/toggleterm.lua @@ -114,7 +114,7 @@ function Lazygit_toggle() Cur_cwd = cwd lazygit:close() lazygit = Terminal:new({ - cmd = "lazygit", + cmd = "zsh --login -c 'lazygit'", dir = "git_dir", direction = "float", hidden = true, -- cgit v1.2.3