Skip to content

Remove redundant check of XDG_CONFIG_HOME - #568

Closed
couldbeanemail wants to merge 1 commit into
ulyssa:mainfrom
couldbeanemail:main
Closed

couldbeanemail wants to merge 1 commit into
ulyssa:mainfrom
couldbeanemail:main

Conversation

@couldbeanemail

Copy link
Copy Markdown

When checking the config iamb checks XDG_CONFIG_HOME twice.
Once with the dirs dependency. Once on its own. This removes the redundant checks, and the now unused function.

@VAWVAW

VAWVAW commented Feb 1, 2026

Copy link
Copy Markdown
Collaborator

dirs only checks for XDG_CONFIG_HOME on linux. The current version allows to override the config dir with environment variables on all platforms. I'm not sure whether that is intended though.

@couldbeanemail

couldbeanemail commented Feb 2, 2026 via email

Copy link
Copy Markdown
Author

@couldbeanemail

couldbeanemail commented Feb 3, 2026 via email

Copy link
Copy Markdown
Author

@ulyssa

ulyssa commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

This exists because it is needed for folks using nix home-manager on macOS, where xdg.enable can be set to allow managing everything at the XDG config paths, which can then have its files managed by home-manager.

@ulyssa ulyssa closed this Sep 12, 2026
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.

3 participants