darold / pgFormatter

A PostgreSQL SQL syntax beautifier that can work as a console program or as a CGI. On-line demo site at http://sqlformat.darold.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow the XDG Base Directory Specification

afk-mario opened this issue · comments

commented

Instead of using ~/.pg_format it would be good if the default config file location was $XDG_CONFIG_HOME/pg_format/config.conf

Commit 10fc46b allow search for config file at ./.pg_format or $HOME/.pg_format or $XDG_CONFIG_HOME/pg_format.