From 914816035f08ca5069eb624777bdcf687842de00 Mon Sep 17 00:00:00 2001 From: Chaz <13462818+cleong14@users.noreply.github.com> Date: Wed, 2 Nov 2022 00:18:07 -1000 Subject: [PATCH] fix(lazygit.lua): escape 'space' in filepath --- lua/lazygit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazygit.lua b/lua/lazygit.lua index 2725286..c4a7ba8 100644 --- a/lua/lazygit.lua +++ b/lua/lazygit.lua @@ -53,7 +53,7 @@ local function lazygitdefaultconfigpath() -- check before replacing the following line local os = fn.substitute(fn.system('uname'), '\n', '', '') if os == 'Darwin' then - return '~/Library/Application Support/jesseduffield/lazygit/config.yml' + return '~/Library/Application\\ Support/jesseduffield/lazygit/config.yml' else if string.find(os_name, 'Window') then return '%APPDATA%/lazygit/config.yml'