about summary refs log tree commit diff
path: root/Completion
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 /Completion
parent4ee64f13cee553b6e5a7712953e16aafc78d8839 (diff)
downloadzsh-75410bc2a10cf6ce8282e02f15ddd3edb5d3121d.tar.gz
zsh-75410bc2a10cf6ce8282e02f15ddd3edb5d3121d.tar.xz
zsh-75410bc2a10cf6ce8282e02f15ddd3edb5d3121d.zip
49943: offer only timezone files starting with uppercase
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_time_zone2
1 files changed, 1 insertions, 1 deletions
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 "$@" -