about summary refs log tree commit diff
path: root/Completion/Unix/Command/_fortune
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_fortune')
-rw-r--r--Completion/Unix/Command/_fortune15
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_fortune b/Completion/Unix/Command/_fortune
new file mode 100644
index 000000000..fec07c436
--- /dev/null
+++ b/Completion/Unix/Command/_fortune
@@ -0,0 +1,15 @@
+#compdef fortune
+
+_arguments \
+       '-a[choose from all lists of maxims, both offensive and not]' \
+       '-c[show the cookie file from which the fortune came]' \
+       '-e[consider all fortune files to be of equal size]' \
+       '-f[print out the list of files which would be searched]' \
+       '-l[long dictums only]' \
+       '-m[print all matches to regex]:BRE:' \
+       '-n[set longest length to be short]:length:' \
+       '-o[choose only from potentially offensive aphorisms]' \
+       '-s[short apothegms only]' \
+       '-i[ignore case for -m patterns]' \
+       '-w[wait before termination for a time based on msg length]' \
+       '*:databases:'