From: Elias Roa Date: Thu, 19 May 2022 00:56:53 +0000 (-0600) Subject: fix: update bash and zsh history file locations to use XDG_STATE_HOME X-Git-Tag: v0.2.0.0~41^2 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/768ac4e34f986584eb816b72cb375d713ca963b1 fix: update bash and zsh history file locations to use XDG_STATE_HOME --- diff --git a/programs/bash.json b/programs/bash.json index 9f028da..3a7d2a4 100644 --- a/programs/bash.json +++ b/programs/bash.json @@ -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" } ] } diff --git a/programs/zsh.json b/programs/zsh.json index 2c173a1..9cd2b9a 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -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 +}