X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/blobdiff_plain/abe51259db6db1defbfe72f2f501830fa1f7803f..7b9ad469a0d95ca4bd6f43d90e8d640f4839594e:/programs/zsh.json diff --git a/programs/zsh.json b/programs/zsh.json index 2c173a1..7da0512 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -1,35 +1,55 @@ { "files": [ { - "path": "$HOME/.zcompcache", + "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, - "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache\n```\n" + "path": "$HOME/.zsh_sessions" }, { - "path": "$HOME/.zcompdump", + "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, - "help": "Set this in your zshrc:\n\n```bash\ncompinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION\n```\n" + "path": "$HOME/.zcompcache" }, { - "path": "$HOME/.histfile", + "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, - "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_DATA_HOME\"/zsh/history \n```\n" + "path": "$HOME/.zcompdump*" }, { - "path": "$HOME/.zlogin", + "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, - "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/.zhistory" }, { - "path": "$HOME/.zshenv", + "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, - "help": "You can remove this file and instead use _/etc/zsh/zshenv_.\n\n_Note: this requires sudo privileges._\n" + "path": "$HOME/.histfile" }, { - "path": "$HOME/.zshrc", + "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, - "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/.zsh_history" + }, + { + "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 _\"$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 _\"$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 _\"$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" } ], "name": "zsh" -} \ No newline at end of file +}