about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-03-12 23:35:25 +0000
committerClint Adams <clint@users.sourceforge.net>2008-03-12 23:35:25 +0000
commit37a7e813905ceba883493a70f81ab8695627662f (patch)
tree4444d274ae8ae26f02dcac159ee7a52d42a3b52e /Completion/Unix/Command
parentb78caa8ec49317e7d42c8c0b0b71ae196f253524 (diff)
downloadzsh-37a7e813905ceba883493a70f81ab8695627662f.tar.gz
zsh-37a7e813905ceba883493a70f81ab8695627662f.tar.xz
zsh-37a7e813905ceba883493a70f81ab8695627662f.zip
24704: completion for BSD calendar.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_calendar12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_calendar b/Completion/Unix/Command/_calendar
new file mode 100644
index 000000000..10adfb700
--- /dev/null
+++ b/Completion/Unix/Command/_calendar
@@ -0,0 +1,12 @@
+#compdef calendar
+
+_arguments \
+  '-a[process files of all users]' \
+  '-A[print today and the following num days]:number of days:' \
+  '-b[enforce special KOI8 date calculation mode]' \
+  '-B[print today and the previous num days]:number of days:' \
+  '-f[use file as the default calendar]:calendar file:_files' \
+  '-l[print today and the following num days]:number of days:' \
+  '-w[print today and the following num days only if today is Friday]:number of days:' \
+  '-t[act as though today is the date specified]:date:'
+