Consider supporting XDG Base Directory Specification? #454
ChristianTacke
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The XDG Base Directory Specification has some rules for specifying where to search for a config file.
It basically means to search for config files in
${XDG_CONFIG_HOME}
(or$HOME/.config
it it's not set), and$XDG_CONFIG_DIRS
(defaulting to/etc/xdg
).Usually, programs define a subdirectory for their config in those directories. For example
~/.config/git/
.I think, it would be nice, if ugrep would support this as well.
.ugrep
to.config/ugrep/config
/etc/xdg/ugrep/config
If ugrep never ever will have more config files, one could also use
~/.config/ugrep.conf
, and/etc/xdg/ugrep.conf
.Beta Was this translation helpful? Give feedback.
All reactions