Skip to content

Commit

Permalink
fixup! Use $XDG_STATE_DIR for state.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Jan 2, 2024
1 parent 077e836 commit 5087c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func findConfigFile(filename string) (exists bool, path string) {
return true, configFilepath
}

return false, filepath.Join(xdg.ConfigHome, "lazygit")
return false, filepath.Join(xdg.ConfigHome, "lazygit", filename)
}

var ConfigFilename = "config.yml"
Expand Down

0 comments on commit 5087c32

Please sign in to comment.