Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _calendar



This is the BSD calendar command as used in Debian and not the calsys
function.

Index: Completion/Unix/Command/_calendar
===================================================================
RCS file: Completion/Unix/Command/_calendar
diff -N Completion/Unix/Command/_calendar
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_calendar	12 Mar 2008 23:30:25 -0000
@@ -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:'
+



Messages sorted by: Reverse Date, Date, Thread, Author