about summary refs log tree commit diff
path: root/Completion/User/_zdump
blob: 2f9a010c14e6e9c38548f0e14fe6dff7eaa4d75a (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:_path_files -W $_zoneinfo_dirs'