about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-04 22:57:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-04 22:57:19 +0000
commit8b21d59cfac518f3f7bd1a126c7e36459a5d7f84 (patch)
tree4fadfe55a5a9122fdf0b48ba31ebb6f7fe34159f /Completion
parent035ca7f26e5bb2643e23eda715c892b6a39c3180 (diff)
downloadzsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.gz
zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.xz
zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.zip
zsh-workers/8129
Diffstat (limited to 'Completion')
-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):*:"