b3nj5m1n / xdg-ninja

A shell script which checks your $HOME for unwanted files and directories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zsh history and compdump locations must be created manually

dudicoco opened this issue · comments

Per the instructions in the zsh file, relocating the compdump and history files to the xdg dirs did not work for me until I manually created the zsh dir within the xdg dirs:

{
"help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n",
"movable": true,
"path": "$HOME/.zcompdump*"
},
{
"help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n",
"movable": true,
"path": "$HOME/.zhistory"
},
{
"help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n",
"movable": true,
"path": "$HOME/.histfile"
},
{
"help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n",
"movable": true,
"path": "$HOME/.zsh_history"
},

Is this a general issue that should be addressed within the file's instructions or is it just an issue with my machine?