1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

49943: offer only timezone files starting with uppercase

This commit is contained in:
Jun-ichi Takimoto 2022-04-01 17:50:30 +09:00
parent 4ee64f13ce
commit 75410bc2a1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2022-04-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 49943: Completion/Unix/Type/_time_zone: offer only filenames
starting with an uppercase letter
2022-03-31 Matthew Martin <phy1729@gmail.com>
* unposted: Completion/BSD/Command/_rcctl: Fix typo.

View file

@ -6,4 +6,4 @@ 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 "$@" -
_wanted time-zones expl 'time zone' _files -g '[A-Z]*' -W _zoneinfo_dirs "$@" -