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

Support for the XDG Base Directory Specification #1

Open
logological opened this issue Nov 2, 2016 · 0 comments
Open

Support for the XDG Base Directory Specification #1

logological opened this issue Nov 2, 2016 · 0 comments

Comments

@logological
Copy link

Currently, CGTerm expects its configuration file to be located at $HOME/.cgtermrc. It would be better if CGTerm instead followed the XDG Base Directory Specification. This is an increasingly popular standard (or set of best practices, if you prefer) defining where applications should look for and store user-specific configuration files and other data. The advantage of using this specification is that the user's home directory becomes less cluttered with arbitrarily named dotfiles and hidden directories.

To implement the specification, I think all CGTerm would need to do is put the configuration file in $XDG_CONFIG_HOME/cgtermrc, or $HOME/.config/cgtermrc if $XDG_CONFIG_HOME is empty or unset. (If desired, it could continue to look for $HOME/.cgtermrc as a fallback.)

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

No branches or pull requests

1 participant