Skip to content

Paths should use platform-specific standards. #95

@hexmode

Description

@hexmode

Instead of defaulting to $HOME or ~, they should use $XDG_DATA_HOME or (if that is not set or empty) $HOME/.local/share. See XDG Base Directory Specificatin §3.

Following this standard, the config file should use $XDG_CONFIG_HOME or $HOME/.config.

The xdg-base-dirs python module supports this standard and is linux focused. appdirs does something similar for Linux but also provides sensible defaults for OS X and Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions