about summary refs log tree commit diff
path: root/Completion/User/_zdump
blob: 598363ef5b685b04b80e095f970ea8a688eff69d (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*(N/) )
fi

_arguments '-v[lowest possible]' \
           '-c[cutoff]:cutoff year:' \
           '*:timezone:_files -W _zoneinfo_dirs'