]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Merge pull request #46 from rocode/main
authorb3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com>
Thu, 19 May 2022 09:09:21 +0000 (11:09 +0200)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 09:09:21 +0000 (11:09 +0200)
fix: update bash and zsh history file locations to use XDG_STATE_HOME

programs/bash.json
programs/zsh.json

index 9f028da8b84ded12238f5de6292c1cf5d2a0923a..3a7d2a458ca010b1009c11787ef4c90b95e89c21 100644 (file)
@@ -4,7 +4,7 @@
         {
             "path": "${HOME}/.bash_history",
             "movable": true,
-            "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=${XDG_CACHE_HOME}/bash/history\n```\n"
+            "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=${XDG_STATE_HOME}/bash/history\n```\n"
         }
     ]
 }
index 2c173a1d94c0c35264d30c4bf69d7d143d6bbead..9cd2b9a3630ed20396b651502a26283248b5ee2e 100644 (file)
@@ -13,7 +13,7 @@
         {
             "path": "$HOME/.histfile",
             "movable": true,
-            "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_DATA_HOME\"/zsh/history \n```\n"
+            "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history \n```\n"
         },
         {
             "path": "$HOME/.zlogin",
@@ -32,4 +32,4 @@
         }
     ],
     "name": "zsh"
-}
\ No newline at end of file
+}