From 768ac4e34f986584eb816b72cb375d713ca963b1 Mon Sep 17 00:00:00 2001 From: Elias Roa Date: Wed, 18 May 2022 18:56:53 -0600 Subject: [PATCH] fix: update bash and zsh history file locations to use XDG_STATE_HOME --- programs/bash.json | 2 +- programs/zsh.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 +} -- 2.47.3