[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Introduce XDG directories
From: |
kooda |
Subject: |
[Chicken-hackers] [PATCH] Introduce XDG directories |
Date: |
Thu, 09 Aug 2018 11:52:49 +0200 |
Hi!
We discussed this at CHICKEN Longboat, and even made a ticket:
https://bugs.call-cc.org/ticket/1455
This patch is about using the XDG spec for configuration and cache
directories (XDG_CONFIG_HOME and XDG_CACHE_HOME
environment variables).
It introduces two new procedures in chicken.platform:
system-config-directory and system-cache-directory, as well as make the
following changes in behaviour:
- csi now loads $XDG_CONFIG_HOME/chicken/csirc and falls back to
$HOME/.csirc if it’s not found
- chicken-install now tries to load an user-defined setup.defauts in
$XDG_CONFIG_HOME/chicken/setup.defaults (with fallback
to the one installed with CHICKEN) and puts it cache in
$XDG_CACHE_HOME/chicken-install/
Man pages are also updated to list the files each program uses.
0001-Introduce-XDG-directories.patch
Description: Text Data
- [Chicken-hackers] [PATCH] Introduce XDG directories,
kooda <=