pgcli: respect XDG (kind of)

This commit is contained in:
Joel Beckmeyer 2024-06-19 14:55:46 -04:00
parent 7734599a50
commit 0c012293e3

View File

@ -40,7 +40,7 @@ generate_aliases = False
# In Unix/Linux: ~/.config/pgcli/log
# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\log
# %USERPROFILE% is typically C:\Users\{username}
log_file = default
log_file = ~/.local/state/pgcli/log
# keyword casing preference. Possible values "lower", "upper", "auto"
keyword_casing = auto
@ -62,7 +62,7 @@ case_column_headers = True
# In Unix/Linux: ~/.config/pgcli/history
# In Windows: %USERPROFILE%\AppData\Local\dbcli\pgcli\history
# %USERPROFILE% is typically C:\Users\{username}
history_file = default
history_file = ~/.local/state/pgcli/history
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
# and "DEBUG". "NONE" disables logging.