X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/ff5ea3a9dc4842a6a63b899447a634ae28afca6e..716a8d7c83cee969a78dfdfacdb2c77b057e340e:/programs/zsh.json diff --git a/programs/zsh.json b/programs/zsh.json index b908485..7da0512 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -1,47 +1,52 @@ { "files": [ { - "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 zshenv:\n\n```bash\nSHELL_SESSIONS_DISABLE=1\n```\n\nShould only exist on macOS when using the default terminal.\n", + "movable": true, + "path": "$HOME/.zsh_sessions" + }, + { + "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path \"$XDG_CACHE_HOME\"/zsh/zcompcache\n```\n\nYou must manually create the _$XDG_CACHE_HOME/zsh_ directory if it doesn't exist yet.\n", "movable": true, "path": "$HOME/.zcompcache" }, { - "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\nYou must manually create the _$XDG_CACHE_HOME/zsh_ directory if it doesn't exist yet.\n", "movable": true, "path": "$HOME/.zcompdump*" }, { - "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n\nYou must manually create the _$XDG_STATE_HOME/zsh_ directory if it doesn't exist yet.\n", "movable": true, "path": "$HOME/.zhistory" }, { - "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n\nYou must manually create the _$XDG_STATE_HOME/zsh_ directory if it doesn't exist yet.\n", "movable": true, "path": "$HOME/.histfile" }, { - "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", + "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n\nYou must manually create the _$XDG_STATE_HOME/zsh_ directory if it doesn't exist yet.\n", "movable": true, "path": "$HOME/.zsh_history" }, { - "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", + "help": "Move the file to _\"$XDG_CONFIG_HOME\"/zsh/.zlogin_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$XDG_CONFIG_HOME\"/zsh\n```\nYou can do this in _/etc/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", "movable": true, "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", + "help": "Move the file to _\"$XDG_CONFIG_HOME\"/zsh/.zprofile_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$XDG_CONFIG_HOME\"/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", + "help": "Move the file to _\"$XDG_CONFIG_HOME\"/zsh/.zshenv_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$XDG_CONFIG_HOME\"/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", + "help": "Move the file to _\"$XDG_CONFIG_HOME\"/zsh/.zshrc_ and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$XDG_CONFIG_HOME\"/zsh\n```\nYou can do this in _/etc/zshenv_ (Or _/etc/zsh/zshenv_, on some distros).\n", "movable": true, "path": "$HOME/.zshrc" }