]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Align history files to XDG specification (#426)
authorJade Fox <79071613+guiltiest-gear@users.noreply.github.com>
Sun, 18 Aug 2024 17:05:24 +0000 (10:05 -0700)
committerGitHub <noreply@github.com>
Sun, 18 Aug 2024 17:05:24 +0000 (19:05 +0200)
programs/nodejs.json
programs/postgresql.json
programs/redis.json

index 297771f8c2a31f10bcce270fe7c3647eb94739e4..02da18b2ea36f24b96fc45088e57bf232d81cf67 100644 (file)
@@ -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"
index cf60d24a285a6b8f0f1f160795969782405eda83..fc31fad4e3c9e4e218d0444fd0688f56f10ce8e7 100644 (file)
@@ -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",
index fb913df517552fa1f45408aaaf84572c26d627b3..2e61dd2bb7390a5d3a6ea241f4cf44361bb9806a 100644 (file)
@@ -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",