summary refs log tree commit diff
path: root/Completion/Unix/Command/_date
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_date')
-rw-r--r--Completion/Unix/Command/_date14
1 files changed, 14 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
new file mode 100644
index 000000000..929b35c84
--- /dev/null
+++ b/Completion/Unix/Command/_date
@@ -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:'