about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_ccal17
2 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b61f4ee5..70bcbd61c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-09  Clint Adams  <clint@zsh.org>
+
+	* 21239: Completion/Unix/Command/_ccal: completion for
+	ccal.
+
 2005-05-09  Peter Stephenson  <pws@csr.com>
 
 	* 21211: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst:
diff --git a/Completion/Unix/Command/_ccal b/Completion/Unix/Command/_ccal
new file mode 100644
index 000000000..ce5a62e59
--- /dev/null
+++ b/Completion/Unix/Command/_ccal
@@ -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:'
+