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 Feb 6, 2024
1 parent e1ccc69 commit 4f54849
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/config/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,6 @@ func stateFilePath(filename string) (string, error) {
}

// looks for XDG_STATE_HOME/lazygit/filename
stateFile, err := xdg.SearchStateFile(filepath.Join("lazygit", filename))
if err == nil {
return stateFile, nil
}

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

Expand Down

0 comments on commit 4f54849

Please sign in to comment.