mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
10 lines
276 B
Plaintext
10 lines
276 B
Plaintext
#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'
|