From 0c012293e3e8eb096702c3e7a83a0a75559b5344 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 19 Jun 2024 14:55:46 -0400 Subject: [PATCH] pgcli: respect XDG (kind of) --- dot_config/pgcli/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot_config/pgcli/config b/dot_config/pgcli/config index f90a6d1..ef6d17f 100644 --- a/dot_config/pgcli/config +++ b/dot_config/pgcli/config @@ -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.