Skip to content

fix: honor XDG config directory precedence - #1871

Draft
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/issue-1470
Draft

fix: honor XDG config directory precedence#1871
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/issue-1470

Conversation

@magrathean-uk

Copy link
Copy Markdown
Contributor

Fixes #1470

Uses XDG_CONFIG_HOME and XDG_CONFIG_DIRS in documented order when finding rustic profiles, ignoring relative entries. The shared resolver is submitted separately for the related Windows and RUSTIC_HOME issues.

Validation: cargo fmt --check; cargo test --locked --lib config::tests::; git diff --check.

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.

[Feature Request] Environment variable specify config/profile directory

1 participant