about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-03 17:56:21 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-03 17:56:21 +0000
commit412bceef2a432d22d7ceda19174b1cb8424169a3 (patch)
tree9440a663e2bbe643d4dabf5fb4130803d7f2e86b /Completion/User
parenta9e41e408e7aab8aa2e04198f9609e76c727467f (diff)
downloadzsh-412bceef2a432d22d7ceda19174b1cb8424169a3.tar.gz
zsh-412bceef2a432d22d7ceda19174b1cb8424169a3.tar.xz
zsh-412bceef2a432d22d7ceda19174b1cb8424169a3.zip
Initial revision
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_zdump9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/User/_zdump b/Completion/User/_zdump
new file mode 100644
index 000000000..2f9a010c1
--- /dev/null
+++ b/Completion/User/_zdump
@@ -0,0 +1,9 @@
+#compdef zdump
+
+if (( ! $+_zoneinfo_dirs )); then
+  _zoneinfo_dirs=(/usr/share/zoneinfo*(/) /usr/lib/zoneinfo*(/) /usr/share/lib/zoneinfo*(/))
+fi
+
+_arguments '-v[lowest possible]' \
+           '-c[cutoff]:cutoff year:' \
+           '*:timezone:_path_files -W $_zoneinfo_dirs'