Skip to content

Remove redundant check of XDG_CONFIG_HOME - #568

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

Remove redundant check of XDG_CONFIG_HOME#568
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
Contributor

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

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