From 75410bc2a10cf6ce8282e02f15ddd3edb5d3121d Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Fri, 1 Apr 2022 17:50:30 +0900 Subject: 49943: offer only timezone files starting with uppercase --- ChangeLog | 5 +++++ Completion/Unix/Type/_time_zone | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf82c4913..e2c71b8b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-04-01 Jun-ichi Takimoto + + * 49943: Completion/Unix/Type/_time_zone: offer only filenames + starting with an uppercase letter + 2022-03-31 Matthew Martin * unposted: Completion/BSD/Command/_rcctl: Fix typo. diff --git a/Completion/Unix/Type/_time_zone b/Completion/Unix/Type/_time_zone index cd924bbc7..c437252a8 100644 --- a/Completion/Unix/Type/_time_zone +++ b/Completion/Unix/Type/_time_zone @@ -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 "$@" - -- cgit 1.4.1