refactor: update the config file path

The config file path had been updated in
03b9db5e0a

Signed-off-by: Avimitin <avimitin@gmail.com>
This commit is contained in:
Avimitin
2022-01-04 16:52:25 +08:00
parent 497ef5578e
commit 4495d351ed

View File

@@ -201,7 +201,7 @@ local function lazygitconfig()
if os == 'Darwin' then
config_file = '~/Library/Application Support/jesseduffield/lazygit/config.yml'
else
config_file = '~/.config/jesseduffield/lazygit/config.yml'
config_file = '~/.config/lazygit/config.yml'
end
if fn.empty(fn.glob(config_file)) == 1 then
-- file does not exist