summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conf.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh
index 0a6fb89..561ae9e 100644
--- a/src/lib/conf.sh
+++ b/src/lib/conf.sh
@@ -49,6 +49,14 @@ list_files() {
echo "$LIBREHOME/.$slug.conf"
fi
;;
+ xbs)
+ echo /etc/$slug.conf
+ echo "$XDG_CONFIG_HOME/$slug.conf"
+ ;;
+ xbs*)
+ echo /etc/xbs.d/$slug.conf
+ echo "$XDG_CONFIG_HOME/xbs.d/$slug.conf"
+ ;;
libretools)
echo /etc/$slug.conf
echo "$XDG_CONFIG_HOME/libretools/$slug.conf"
@@ -74,8 +82,10 @@ list_envvars() {
GPGKEY PACKAGER
;;
libretools)
- printf '%s\n' \
- DIFFPROG
+ printf '%s\n' DIFFPROG
+ ;;
+ xbs)
+ printf '%s\n' BUILDSYSTEM
;;
*) :;;
esac