]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - programs/zsh.json
Added xsane
[xdg-ninja.git] / programs / zsh.json
index 2c173a1d94c0c35264d30c4bf69d7d143d6bbead..026a8c5b02c6ea7e6d0d727b2e5304b8e908a43d 100644 (file)
@@ -3,33 +3,48 @@
         {
             "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_DATA_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/.zprofile",
+            "movable": true,
+            "help": "Move 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/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"
-}
\ No newline at end of file
+}