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:
parent
6a75b3c0c5
commit
f3f81f0837
2 changed files with 6 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue