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

PATCH: _ccal



Yet another cal-like program that is begging for completion.

Index: Completion/Unix/Command/_ccal
===================================================================
RCS file: Completion/Unix/Command/_ccal
diff -N Completion/Unix/Command/_ccal
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_ccal	9 May 2005 14:54:04 -0000
@@ -0,0 +1,17 @@
+#compdef ccal
+
+_arguments \
+        '-nodata[Ignore appointment descriptions file]' \
+        '-data-file=[Load appointments from file]:caldat file:_files' \
+        '-future[Show only future appointments on current month]' \
+        '-today[Show only today'"'"'s appointments on current month]' \
+        '-europe[European format (first day is Monday)]' \
+        '-american[North American format (first day is Sunday)]' \
+        '-maxappts=[Display maximum of n appointments]:number of appointments:('{8..50}')' \
+        '-pause[Pause for keystroke before exiting]' \
+        '-nocolor[Inhibit use of colors]' \
+        '-color-file=[Load color definitions from file]:calcol file:_files' \
+        '-8bit[Display 8-bit ascii characters]' \
+        '1:month:(1 2 3 4 5 6 7 8 9 10 11 12 jan feb mar apr may jun jul aug sep oct nov dec)' \
+        '2:year:'
+



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