about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:34:45 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:34:45 +0000
commitfae80e3dd60b8bcccf1cb9150de1f9e5ec3360cd (patch)
tree305f13e54f3f7ae154293114f8496ebcf1a331fa /Completion/Zsh
parenteb217705331bfb7b1ce88766f4b7d7f861262481 (diff)
downloadzsh-fae80e3dd60b8bcccf1cb9150de1f9e5ec3360cd.tar.gz
zsh-fae80e3dd60b8bcccf1cb9150de1f9e5ec3360cd.tar.xz
zsh-fae80e3dd60b8bcccf1cb9150de1f9e5ec3360cd.zip
moved from Completion/User/_prompt
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)"