From: b3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com> Date: Thu, 19 May 2022 09:09:21 +0000 (+0200) Subject: Merge pull request #46 from rocode/main X-Git-Tag: v0.2.0.0~41 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/75ec41d18b840becd2055a79b2ec266bec6f13d6?hp=1e6bd0536f3bac65ab26c125f3d7e49c32e3956f Merge pull request #46 from rocode/main 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 +}