From d363c2b6d428463b1b171972ec12bc7605435365 Mon Sep 17 00:00:00 2001 From: hizani <78748751+hizani@users.noreply.github.com> Date: Sun, 24 Jul 2022 02:28:51 +0300 Subject: [PATCH] Add .zhistory file support for zsh (#144) --- programs/zsh.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/zsh.json b/programs/zsh.json index 1ea83f6..2f68ee2 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -10,6 +10,11 @@ "movable": true, "help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n" }, + { + "path": "$HOME/.zhistory", + "movable": true, + "help": "Export the following environment variable:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n" + }, { "path": "$HOME/.histfile", "movable": true, -- 2.47.3