git/dew/main
issues/0005-honor-xdg-config-home-for-the-config-path.md
11 lines410 B last change raw · rendered · history
---
title: honor XDG_CONFIG_HOME for the config path
status: open
labels: [enhancement]
created: 2026-09-18
closed:
---
`getConfigPath` builds the path by hand as `$HOME/.config/dew/config.json`, ignoring `XDG_CONFIG_HOME`.

grrs was explicitly moved onto XDG conventions ("refactor: separate file locations"), so dew should match. `os.UserConfigDir()` respects XDG on Linux and has a sane fallback elsewhere.