Skip to content

fix: resolve config path when XDG_CONFIG_HOME is unset#39

Open
nelexey wants to merge 3 commits into
eeeXun:masterfrom
nelexey:master
Open

fix: resolve config path when XDG_CONFIG_HOME is unset#39
nelexey wants to merge 3 commits into
eeeXun:masterfrom
nelexey:master

Conversation

@nelexey

@nelexey nelexey commented Jun 16, 2026

Copy link
Copy Markdown

Fix config path resolution: use the evaluated defaultConfigPath because Viper does not automatically expand the $HOME variable.

@eeeXun

eeeXun commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Viper can resolve $HOME for me. And in viper README, there's example use $HOME. Does this not work for you?

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