]> the.earth.li Git - onak.git/commit
Try to use a user specific configuration file if available
authorJonathan McDowell <noodles@earth.li>
Sat, 2 Nov 2013 04:15:04 +0000 (21:15 -0700)
committerJonathan McDowell <noodles@earth.li>
Sat, 2 Nov 2013 04:15:04 +0000 (21:15 -0700)
commit25515318015210c5f201950031bc0269f945f48a
tree2d605b7bfdd97457e6ecb5a49eda5825fe854a66
parent2f9af5d673891e566b306bf4e00970e3df0ea01d
Try to use a user specific configuration file if available

Try looking for $XDG_CONFIG_HOME/onak.conf (or $HOME/.config/onak.conf
if $XDG_CONFIG_HOME is not set) before looking for the system wide
config file. This allows users to use their own config file without
having to always use the -c option to provide it.
onak-conf.c