dominictarr/rc

Search in XDG environment variables

Opened this issue · 3 comments

The XDG spec defines two environment variables ($XDG_CONFIG_HOME and $XDG_CONFIG_DIRS) in which to search for config files.

Since the majority of Linux desktops follow this standard, it's worth supporting these variables as well.

are you building or do you know of application where not supporting this is causing a problem?
Or do you use a custom XDG configuration and is rc putting files in the wrong place for you?

Given that this is a npm and node module I don't think that this is necessary.

Why does this package not support $XDG_CONFIG_HOME? It's a standard used in all OS's and is pretty common. Granted, most of the time $XDG_CONFIG_HOME is just used set to $HOME/.config (which is supported), but that does not always mean it will point there