python3Packages.pywikibot: init at 9.5.0 (#333068)
[NixPkgs.git] / pkgs / shells / zsh / tz_completion.patch
blob01977828129ddf7e75cda648383230c3c1c4184f
1 On NixOS, timezone data is located at /etc/zoneinfo
2 diff --git a/Completion/Unix/Type/_time_zone b/Completion/Unix/Type/_time_zone
3 index cd924bbc7..5d683291b 100644
4 --- a/Completion/Unix/Type/_time_zone
5 +++ b/Completion/Unix/Type/_time_zone
6 @@ -3,7 +3,7 @@
7 local expl
9 if (( ! $+_zoneinfo_dirs )); then
10 - _zoneinfo_dirs=( /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/) )
11 + _zoneinfo_dirs=( /etc/zoneinfo /usr/{share,lib,share/lib}/{zoneinfo*,locale/TZ}(/) )
14 _wanted time-zones expl 'time zone' _files -W _zoneinfo_dirs "$@" -