From 3662d783f9e71b8bd1551e6871a256ea2b5036a9 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 11 Aug 2014 02:44:42 +0200 Subject: basedir: Add XDG_BIN_HOME and XDG_BIN_DIRS --- basedir/basedir-spec.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/basedir/basedir-spec.xml b/basedir/basedir-spec.xml index a8708e9..79d0cf3 100644 --- a/basedir/basedir-spec.xml +++ b/basedir/basedir-spec.xml @@ -34,6 +34,15 @@ + + Johannes + Löthberg + +
+ johannes@kyriasis.com +
+
+
@@ -66,6 +75,20 @@ environment variable $XDG_CONFIG_HOME. + + + There is a single base directory relative to which user-specific + executable files should be written. This directory is defined by the + environment variable $XDG_BIN_HOME. + + + + + There is a set of preference ordered base directories relative to + which executable files should be searched. This set of directories + is defined by the environment variable $XDG_BIN_DIRS. + + There is a set of preference ordered base directories relative to @@ -122,6 +145,12 @@ $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. + + $XDG_BIN_HOME defines the base directory relative to + which user-specific executable files should be stored. If + $XDG_BIN_HOME is either not set or empty, a default equal to + $HOME/.local/bin should be used. + $XDG_DATA_DIRS defines the preference-ordered set of base directories to search for data files in addition to the @@ -144,6 +173,17 @@ If $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used. + + $XDG_BIN_DIRS defines the preference-ordered set of + base directories to search for executable files in addition to the + $XDG_BIN_HOME base directory. + The directories in $XDG_BIN_DIRS should be seperated + with a colon ':'. + + + If $XDG_BIN_DIRS is either not set or empty, a value equal to + /usr/local/bin:/usr/bin should be used. + The order of base directories denotes their importance; the first directory listed is the most important. When the same information is -- cgit v1.2.3-54-g00ecf