mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #577] Honor XDG_CONFIG_HOME for config discovery
#245
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ofek on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/bootandy/dust/issues/577
The config file resolution currently looks for
$HOME/.config/dust/config.tomland$HOME/.dust.toml, so users who setXDG_CONFIG_HOMEneed to pass--configmanually. Please resolve the default config path via XDG e.g.${XDG_CONFIG_HOME:-$HOME/.config}/dust/config.toml. Popular Rust crates likedirs,directories, andxdgalready follow this behavior. I'd recommend the former for this code base via its config_dir function.