From cdb6c9b53135d57b8b35b64d408a07db08065eec Mon Sep 17 00:00:00 2001 From: Jade Fox <79071613+guiltiest-gear@users.noreply.github.com> Date: Sun, 18 Aug 2024 10:05:24 -0700 Subject: [PATCH] Align history files to XDG specification (#426) --- programs/nodejs.json | 2 +- programs/postgresql.json | 2 +- programs/redis.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/nodejs.json b/programs/nodejs.json index 297771f..02da18b 100644 --- a/programs/nodejs.json +++ b/programs/nodejs.json @@ -3,7 +3,7 @@ { "path": "$HOME/.node_repl_history", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport NODE_REPL_HISTORY=\"$XDG_DATA_HOME\"/node_repl_history\n```\n" + "help": "Export the following environment variables:\n\n```bash\nexport NODE_REPL_HISTORY=\"$XDG_STATE_HOME\"/node_repl_history\n```\n" } ], "name": "nodejs" diff --git a/programs/postgresql.json b/programs/postgresql.json index cf60d24..fc31fad 100644 --- a/programs/postgresql.json +++ b/programs/postgresql.json @@ -13,7 +13,7 @@ { "path": "$HOME/.psql_history", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport PSQL_HISTORY=\"$XDG_DATA_HOME/psql_history\"\n```\n" + "help": "Export the following environment variables:\n\n```bash\nexport PSQL_HISTORY=\"$XDG_STATE_HOME/psql_history\"\n```\n" }, { "path": "$HOME/.psqlrc", diff --git a/programs/redis.json b/programs/redis.json index fb913df..2e61dd2 100644 --- a/programs/redis.json +++ b/programs/redis.json @@ -3,7 +3,7 @@ { "path": "$HOME/.rediscli_history", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport REDISCLI_HISTFILE=\"$XDG_DATA_HOME\"/redis/rediscli_history\n```\n" + "help": "Export the following environment variables:\n\n```bash\nexport REDISCLI_HISTFILE=\"$XDG_STATE_HOME\"/redis/rediscli_history\n```\n" }, { "path": "$HOME/.redisclirc", -- 2.47.3