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/
PostgreSQL License
1.69k stars 101 forks source link

Follow the XDG Base Directory Specification #305

Closed afk-mario closed 1 year ago

afk-mario commented 1 year ago

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

darold commented 1 year ago

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