Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: completion for zdump
- X-seq: zsh-workers 8889
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: completion for zdump
- Date: Fri, 3 Dec 1999 12:28:41 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
--- /dev/null Mon Feb 8 19:38:08 1999
+++ Completion/User/_zdump Fri Dec 3 12:26:03 1999
@@ -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'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author