about summary refs log tree commit diff
path: root/Completion/Unix/Type/_time_zone
blob: 215d8bd4aff9eb95f1f5824f9471c00e9c5c75d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#compdef -T values TZ

local expl

if (( ! $+_zoneinfo_dirs )); then
  _zoneinfo_dirs=( /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/) )
fi

_wanted time-zones expl 'time zone' _files -W _zoneinfo_dirs