]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add .zhistory file support for zsh (#144)
authorhizani <78748751+hizani@users.noreply.github.com>
Sat, 23 Jul 2022 23:28:51 +0000 (02:28 +0300)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 23:28:51 +0000 (23:28 +0000)
programs/zsh.json

index 1ea83f659f6182f88a6a9226cfb8a0b00cedadf1..2f68ee24cd5650acda45c4e673c0f812c8b32b6a 100644 (file)
             "movable": true,
             "help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n"
         },
             "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,
         {
             "path": "$HOME/.histfile",
             "movable": true,