]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add support for powerlevel10k (#162)
authorcoloursofnoise <coloursofthenoise@gmail.com>
Sun, 14 Aug 2022 10:15:00 +0000 (03:15 -0700)
committerGitHub <noreply@github.com>
Sun, 14 Aug 2022 10:15:00 +0000 (12:15 +0200)
programs/powerlevel10k.json [new file with mode: 0644]

diff --git a/programs/powerlevel10k.json b/programs/powerlevel10k.json
new file mode 100644 (file)
index 0000000..cdaa93c
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "help": "Move file to \"$HOME\"/.config/zsh/.p10k.zsh and export the following environment variable:\n\n```bash\nexport ZDOTDIR=\"$HOME\"/.config/zsh\n```\nYou can do this in _/etc/zsh/zshenv_.\n\nThen, in your _.zshrc_ file, edit the following line:\n```diff\n-[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n+[[ ! -f ${ZDOTDIR:-~}/.p10k.zsh ]] || source ${ZDOTDIR:-~}/.p10k.zsh\n```\n",
+            "movable": true,
+            "path": "$HOME/.p10k.zsh"
+        }
+    ],
+    "name": "powerlevel10k"
+}