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