]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
fix: update bash and zsh history file locations to use XDG_STATE_HOME
authorElias Roa <elias@roa.email>
Thu, 19 May 2022 00:56:53 +0000 (18:56 -0600)
committerElias Roa <elias@roa.email>
Thu, 19 May 2022 00:56:53 +0000 (18:56 -0600)
programs/bash.json
programs/zsh.json

index 9f028da8b84ded12238f5de6292c1cf5d2a0923a..3a7d2a458ca010b1009c11787ef4c90b95e89c21 100644 (file)
@@ -4,7 +4,7 @@
         {
             "path": "${HOME}/.bash_history",
             "movable": true,
         {
             "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,
         {
             "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",
         },
         {
             "path": "$HOME/.zlogin",
@@ -32,4 +32,4 @@
         }
     ],
     "name": "zsh"
         }
     ],
     "name": "zsh"
-}
\ No newline at end of file
+}