aboutsummaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_zdump
blob: 5ba6955290191021759f0077021fc6a486152901 (plain) (blame)
1
2
3
4
5
6
7
8
9
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'