about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Command/_zdump9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_zdump b/Completion/Unix/Command/_zdump
new file mode 100644
index 000000000..3f17cc1ef
--- /dev/null
+++ b/Completion/Unix/Command/_zdump
@@ -0,0 +1,9 @@
+#compdef zdump
+
+if (( ! $+_zoneinfo_dirs )); then
+  _zoneinfo_dirs=( /usr/{share,lib,share/lib}/zoneinfo*(/) )
+fi
+
+_arguments '-v[lowest possible]' \
+           '-c[cutoff]:cutoff year:' \
+           '*:timezone:_files -W _zoneinfo_dirs'