X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/75ec41d18b840becd2055a79b2ec266bec6f13d6..b62bb6b9a67a77beebfe28e446811cd1b43c8ab0:/programs/zsh.json diff --git a/programs/zsh.json b/programs/zsh.json index 9cd2b9a..2f68ee2 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -3,32 +3,42 @@ { "path": "$HOME/.zcompcache", "movable": true, - "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache\n```\n" + "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path \"$XDG_CACHE_HOME\"/zsh/zcompcache\n```\n" }, { "path": "$HOME/.zcompdump", "movable": true, - "help": "Set this in your zshrc:\n\n```bash\ncompinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION\n```\n" + "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, - "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history \n```\n" + "help": "Export the following environment variable:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n" + }, + { + "path": "$HOME/.zsh_history", + "movable": true, + "help": "Export the following environment variable:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n" }, { "path": "$HOME/.zlogin", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n" + "help": "Move file to _\"$HOME\"/.config/zsh/.zlogin_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```\nYou can do this in _/etc/zsh/zshenv_.\n" }, { "path": "$HOME/.zshenv", "movable": true, - "help": "You can remove this file and instead use _/etc/zsh/zshenv_.\n\n_Note: this requires sudo privileges._\n" + "help": "Move file to _\"$HOME\"/.config/zsh/.zshenv_ and export the following environment variable in _/etc/zsh/zshenv_:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```" }, { "path": "$HOME/.zshrc", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n" + "help": "Move file to _\"$HOME\"/.config/zsh/.zshrc_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```\nYou can do this in _/etc/zsh/zshenv_.\n" } ], "name": "zsh"