fix: escape spacing 🐛

This commit is contained in:
Dheepak Krishnamurthy
2022-11-02 08:30:43 -04:00
parent e2b1e4c231
commit 2fd5b526e2

View File

@@ -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/lazygit/config.yml"
return "~/Library/Application\\ Support/lazygit/config.yml"
else
if string.find(os_name, "Window") then
return "%APPDATA%/lazygit/config.yml"