srsudar / eg

Useful examples at the command line.
MIT License
1.8k stars 98 forks source link

Added support for XDG_CONFIG_HOME #78

Closed mayanksuman closed 4 years ago

mayanksuman commented 6 years ago

eg now search for eg.conf in XDG_CONFIG_HOME before using ~/.egrc. The priority order is cli_config_file, eg.conf in XDG_CONFIG_HOME and then ~/.egrc.

Solves #77