about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_prompt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_prompt b/Completion/Zsh/Command/_prompt
new file mode 100644
index 000000000..ef6aac355
--- /dev/null
+++ b/Completion/Zsh/Command/_prompt
@@ -0,0 +1,9 @@
+#compdef prompt
+
+_arguments -s \
+  '-l[list themes]:*:' \
+  '-c[show selected theme]:*:' \
+  "-h[help]::prompt theme:($prompt_themes):*:" \
+  "-p[preview theme(s)]:*:prompt theme:($prompt_themes)" \
+  "-s[set and save theme]:prompt theme:($prompt_themes):*:" \
+  ":prompt theme:($prompt_themes)"