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