[Top][All Lists]

[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


We discussed this at CHICKEN Longboat, and even made a ticket:

This patch is about using the XDG spec for configuration and cache
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

Man pages are also updated to list the files each program uses.

Attachment: 0001-Introduce-XDG-directories.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]