Skip to content

Allow $XDG_CONFIG_HOME to configure config location#178

Merged
kytrinyx merged 2 commits intoexercism:masterfrom
lcowell:xdg_config
Apr 3, 2015
Merged

Allow $XDG_CONFIG_HOME to configure config location#178
kytrinyx merged 2 commits intoexercism:masterfrom
lcowell:xdg_config

Conversation

@lcowell
Copy link
Contributor

@lcowell lcowell commented Apr 2, 2015

If $XDG_CONFIG_HOME (or any mechanism for setting the config path) points to a directory, append the default filename to the provided path. Resolves #161 and possibly resolves #176

@Tonkpils
Copy link
Contributor

Tonkpils commented Apr 2, 2015

This looks good, I think it will fix #176 if it's a directory. 👍

@kytrinyx
Copy link
Member

kytrinyx commented Apr 3, 2015

Yeah, this looks promising. Thanks :)

kytrinyx added a commit that referenced this pull request Apr 3, 2015
Allow $XDG_CONFIG_HOME to configure config location
@kytrinyx kytrinyx merged commit 1e99c68 into exercism:master Apr 3, 2015
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.

Provide a useful error message if the EXERCISM_CONFIG_FILE points to a directory respect $XDG_CONFIG_HOME

3 participants