Skip to content

Respect XDG_CONFIG_HOME #129

@pebolle

Description

@pebolle

popt looks for .popt in ~/ but should probably look for a popt file in $HOME/.config instead.

From https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html:

$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

(Yes, this an almost verbatim copy of rpm-software-management/rpm#2153.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions