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