X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/abe51259db6db1defbfe72f2f501830fa1f7803f..02ff70e39c25318db855afcd450f280ded900b4e:/programs/zsh.json diff --git a/programs/zsh.json b/programs/zsh.json index 2c173a1..ca54653 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -1,34 +1,49 @@ { "files": [ { - "path": "$HOME/.zcompcache", + "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path \"$XDG_CACHE_HOME\"/zsh/zcompcache\n```\n", "movable": true, - "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache\n```\n" + "path": "$HOME/.zcompcache" }, { - "path": "$HOME/.zcompdump", + "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/.zcompdump" }, { - "path": "$HOME/.histfile", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_DATA_HOME\"/zsh/history \n```\n" + "path": "$HOME/.zhistory" }, { - "path": "$HOME/.zlogin", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", "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" + "path": "$HOME/.histfile" }, { - "path": "$HOME/.zshenv", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", "movable": true, - "help": "You can remove this file and instead use _/etc/zsh/zshenv_.\n\n_Note: this requires sudo privileges._\n" + "path": "$HOME/.zsh_history" }, { - "path": "$HOME/.zshrc", + "help": "Move the 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/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", "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" + "path": "$HOME/.zlogin" + }, + { + "help": "Move the file to _\"$HOME\"/.config/zsh/.zprofile_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```\nYou can do this in _/etc/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", + "movable": true, + "path": "$HOME/.zprofile" + }, + { + "help": "Move the file to _\"$HOME\"/.config/zsh/.zshenv_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```\nYou can do this in _/etc/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", + "movable": true, + "path": "$HOME/.zshenv" + }, + { + "help": "Move the 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/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", + "movable": true, + "path": "$HOME/.zshrc" } ], "name": "zsh"