You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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
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.
Activity
adamreese commentedon Apr 20, 2020
To clarify... The feature request to allow an order precedented lookup for plugins.
For example if running the plugin
helm foothe 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
github-actions commentedon Sep 21, 2020
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.
bacongobbler commentedon Nov 19, 2020
closing as stale.