summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:07:26 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:07:26 +0000
commit7abb7e4f66578c54e56b9b7e0adda4606fe15a36 (patch)
tree937a0d39cb2aa6386e0bc73bcddfe5bf981c46cf /Completion/Unix
parent54046835ac3ef8c53acab3d98d2ba39047d08230 (diff)
downloadzsh-7abb7e4f66578c54e56b9b7e0adda4606fe15a36.tar.gz
zsh-7abb7e4f66578c54e56b9b7e0adda4606fe15a36.tar.xz
zsh-7abb7e4f66578c54e56b9b7e0adda4606fe15a36.zip
moved from Completion/User/_zdump
Diffstat (limited to 'Completion/Unix')
-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'