bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Request] XDG base directory specification


From: Fernando Ramos
Subject: [Request] XDG base directory specification
Date: Wed, 9 Dec 2020 23:10:07 +0100

Hi,

Applications are slowly but steadily starting to comply with the XDG base
directory specification (see [1])

If `readline` was to comply, it would need to change the way it uses to locate
the `inputrc` file. In particular, `readline` would have to look in these places
in this order:

  1. If $INPUTRC environment variable is set, use that.

  2. If $XDG_CONFIG_HOME environment variable is set, use "$XDG_CONFIG_HOME/
     readline/inputrc".

  3. Use "~/.config/readline/inputrc".

  4. Use "~/.inputrc".

  5. Use "/etc/inputrc".

I found that a patch to address this issue was already submitted to this mailing
list back in 2014 (see [2]) but it looks like it was never merged.

Would it be possible to reconsider this patch once again?

Thanks.


[1] https://wiki.archlinux.org/index.php/XDG_Base_Directory
[2] https://lists.gnu.org/archive/html/bug-readline/2014-03/msg00054.html




reply via email to

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