Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect the XDG Base Directory specification for configs #204

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lhanson
Copy link
Contributor

@lhanson lhanson commented Sep 5, 2019

Rather than assuming a configuration file at ~/.slack-term, respect
the user's choice per the XDG Base Directory specification
to find the configuration.

Uses a cross-platform XDG library (godoc) to abstract the details of the
specification and encompass any future changes.

After merging, the wiki home page
should be updated to reflect the new configuration location.

This closes #170 and closes #203.

Rather than assuming a configuration file at `~/.slack-term`, respect
the user's choice per the XDG Base Directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
to find the configuration.

Uses a cross-platform XDG library to abstract the details of the
specification and encompass any future changes
(https://github.com/OpenPeeDeeP/xdg, https://godoc.org/github.com/OpenPeeDeeP/xdg).

After merging, the [wiki home page](https://github.com/erroneousboat/slack-term/wiki)
should be updated to reflect the new configuration location.

This closes jpbruinsslot#170 and closes jpbruinsslot#203.
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.

XDG Base Directory Support Configuration file path
1 participant