Skip to content

[2.x] Fallback to $HOME/.config/sbt#8780

Merged
eed3si9n merged 1 commit intosbt:developfrom
eed3si9n:wip/dot-config
Feb 22, 2026
Merged

[2.x] Fallback to $HOME/.config/sbt#8780
eed3si9n merged 1 commit intosbt:developfrom
eed3si9n:wip/dot-config

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n commented Feb 22, 2026

Ref #3681

Problem/Solution

When XDG_CONFIG_HOME is not defined, we should fallback to $HOME/.config/sbt.

**Problem/Solution**
When XDG_CONFIG_HOME is not defined, we should fallback to HOME/.config/sbt.
@eed3si9n eed3si9n changed the title [2.x] Fallback to HOME/.config/sbt [2.x] Fallback to $HOME/.config/sbt Feb 22, 2026
@eed3si9n eed3si9n mentioned this pull request Feb 22, 2026
@eed3si9n eed3si9n merged commit b1bfb6e into sbt:develop Feb 22, 2026
15 checks passed
@eed3si9n eed3si9n deleted the wip/dot-config branch February 22, 2026 05:02
@soc
Copy link
Copy Markdown
Contributor

soc commented Feb 23, 2026

Thank you @eed3si9n, this looks good!

Just as a note (not saying I think it should be done, just for consideration):

Some applications that migrated to XDG still check whether their "legacy" location already exists and in that case keep using it (to not break existing users and let them migrate at their own time).

No opinion on whether that should be done in this case though, just wanted to put the info out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants