1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-08 12:01:21 +02:00

16177: also look in /usr/lib/locale/TZ for time zones

This commit is contained in:
Oliver Kiddle 2001-11-02 12:28:30 +00:00
parent 6a75b3c0c5
commit f3f81f0837
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-11-02 Oliver Kiddle <opk@zsh.org>
* 16177: Completion/Unix/Type/_time_zone: also look in
/usr/lib/locale/TZ for time zones
2001-11-01 Bart Schaefer <schaefer@zsh.org>
* 16197: Completion/Zsh/Command/.distfiles,

View file

@ -3,7 +3,7 @@
local expl
if (( ! $+_zoneinfo_dirs )); then
_zoneinfo_dirs=( /usr/{share,lib,share/lib}/zoneinfo*(/) )
_zoneinfo_dirs=( /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/) )
fi
_wanted timezone expl 'time zone' _files -W _zoneinfo_dirs