]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - programs/zsh.json
fix: update bash and zsh history file locations to use XDG_STATE_HOME
[xdg-ninja.git] / programs / zsh.json
1 {
2 "files": [
3 {
4 "path": "$HOME/.zcompcache",
5 "movable": true,
6 "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache\n```\n"
7 },
8 {
9 "path": "$HOME/.zcompdump",
10 "movable": true,
11 "help": "Set this in your zshrc:\n\n```bash\ncompinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION\n```\n"
12 },
13 {
14 "path": "$HOME/.histfile",
15 "movable": true,
16 "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history \n```\n"
17 },
18 {
19 "path": "$HOME/.zlogin",
20 "movable": true,
21 "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n"
22 },
23 {
24 "path": "$HOME/.zshenv",
25 "movable": true,
26 "help": "You can remove this file and instead use _/etc/zsh/zshenv_.\n\n_Note: this requires sudo privileges._\n"
27 },
28 {
29 "path": "$HOME/.zshrc",
30 "movable": true,
31 "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n"
32 }
33 ],
34 "name": "zsh"
35 }