-
-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
Description
Since 2010, the XDG Base Directory Specification has been widely accepted, defining a standard for the locations of user configuration files. Currently, rcm checks by default for the rcrc configuration file in ~/.rcrc, which is not in alignment with the specification.
I propose that the following behaviour be implemented, to locate the default .rcrc file:
- The currently-default ~/.rcrc is checked. If it does not exist, then:
- If $XDG_CONFIG_HOME is set, rcm checks $XDG_CONFIG_HOME/rcm/rcrc
- If $XDG_CONFIG_HOME is not set, rcm checks $HOME/.config/rcm/rcrc
This would bring rcm into alignment with the specification, without breaking backwards compatibility.
ratijas, blampe, hyperupcall, ursm, magikid and 5 more