summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-04-01 17:50:30 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2022-04-01 17:50:30 +0900
commit75410bc2a10cf6ce8282e02f15ddd3edb5d3121d (patch)
treec61885337c174ffccb4ffc106f7bc5a0824a18cf
parent4ee64f13cee553b6e5a7712953e16aafc78d8839 (diff)
downloadzsh-75410bc2a10cf6ce8282e02f15ddd3edb5d3121d.tar.gz
zsh-75410bc2a10cf6ce8282e02f15ddd3edb5d3121d.zip
49943: offer only timezone files starting with uppercase
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_time_zone2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bf82c4913..e2c71b8b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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 "$@" -