about summary refs log tree commit diff
path: root/Completion/User/_zdump
blob: 3f17cc1ef3072630fd072b887bf781462f5ec4d3 (plain) (blame)
1
2
3
4
5
6
7
8
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'