Skip to content

[Feature] Use XDG directories for config files on Linux #37

@onox

Description

@onox

Is your feature request related to a problem? Please describe.
septum init creates a file .septum/config in the current working directory, but I would like to create it relative to the home directory.

Describe the solution you'd like
When Septum tries to create .septum/config in the home directory, it should instead store it relative to $XDG_CONFIG_HOME. If this environment variable is not defined, it should have the value $HOME/.config. Thus the full path becomes $HOME/.config/septum/config.

Similarly, cache files (don't know if Septum has any) could be relative to $XDG_CACHE_HOME (which is by default $HOME/.cache).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions