#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'