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

PATCH: _date



For GNU date; I don't have access to any others at this particular
moment.

Index: Completion/Unix/Command/_date
===================================================================
RCS file: Completion/Unix/Command/_date
diff -N Completion/Unix/Command/_date
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_date	3 Sep 2005 00:13:50 -0000
@@ -0,0 +1,14 @@
+#compdef date
+
+_arguments \
+    '-d[date]:time string:' \
+    '-f[file]:date file:_files' \
+    '-I[iso-8601]:time spec:' \
+    '-r[reference]:file:_files' \
+    '-R[rfc-2822]' \
+    '-s[set]:time string:' \
+    '-u[utc]' \
+    -- \
+    '*=FILE*:file:_files' \
+    '*=DATEFILE*:date file:_files' \
+    ':format or date:'



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