Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _date
- X-seq: zsh-workers 21696
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _date
- Date: Fri, 2 Sep 2005 20:14:56 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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