Skip to content

Support $XDG_DATA_DIRS #7529

Closed
Closed

Description

@mattfarina

The XDG Specification has an environment variable known as $XDG_DATA_DIRS. This variable can have multiple data directories to look for things (e.g., plugins). The spec notes:

$XDG_DATA_DIRS defines the preference-ordered set of base directories to search for data files in addition to the $XDG_DATA_HOME base directory. The directories in $XDG_DATA_DIRS should be seperated with a colon ':'.

A docker container or something else could system wide data in here (e.g., plugins).

Activity

  1. added
    v3.x
    on Feb 5, 2020
  2. adamreese commented on Apr 20, 2020

    @adamreese
    Member

    To clarify... The feature request to allow an order precedented lookup for plugins.

    For example if running the plugin helm foo the first plugin found in $XDG_DATA_HOME:$XDG_DATA_DIRS:{{os default xdg}} that is named foo would be selected.

    XDG_DATA_DIRS would only be used for path lookup and not exposed

  3. github-actions commented on Sep 21, 2020

    @github-actions

    This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

  4. bacongobbler commented on Nov 19, 2020

    @bacongobbler
    Member

    closing as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalefeaturev3.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions