|
From: | Simon Ochsenreither |
Subject: | [Nano-devel] Improving nano's support for the XDG base directory spec |
Date: | Sun, 1 Oct 2017 21:20:51 +0200 (CEST) |
Hi everyone, first of all, thanks for building this great application! I wrote/updated a patch to add XDG support and attached it to the old ticket about the same topic: https://savannah.gnu.org/patch/?8523 In very basic terms, this adds an additional place from which a user's nanorc file is read. For those who are happy with the way things currently work – nothing changes. Before: - Load $HOME/.nanorc With patch: - If $XDG_CONFIG_HOME is set, use $XDG_CONFIG_HOME/nanorc (XDG spec¹, Environment Variables, §2, first sentence) Please let me know if this patch is acceptable or needs additional changes. Thanks, Simon ¹ https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
[Prev in Thread] | Current Thread | [Next in Thread] |