Skip to content

Commit 8758234

Browse files
committed
54185+54209: set default value of verbose style to true
1 parent ea95cd2 commit 8758234

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2026-03-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
2+
3+
* 54185 + 54209: Completion/Unix/Command/_find,
4+
Completion/Unix/Command/_git, Completion/Unix/Command/_iftop,
5+
Completion/Unix/Command/_tcpdump, Completion/Zsh/Type/_globquals,
6+
Completion/Zsh/Type/_parameters, Test/Y01completion.ztst: set
7+
default value of verbose style to true
8+
19
2026-02-21 Bart Schaefer <schaefer@zsh.org>
210

311
* dana: 54203: Test/A08time.ztst: replace "read -t" with "zselect"

Completion/Unix/Command/_find

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ _arguments -C $args \
158158
if [[ $state = times ]]; then
159159
if ! compset -P '[+-]' || [[ -prefix '[0-9]' ]]; then
160160
compstate[list]+=' packed'
161-
if zstyle -t ":completion:${curcontext}:senses" verbose; then
161+
if zstyle -T ":completion:${curcontext}:senses" verbose; then
162162
zstyle -s ":completion:${curcontext}:senses" list-separator sep || sep=--
163163
default=" [default exactly]"
164164
disp=( "+ $sep before (older files)" "- $sep since (newer files)" )

Completion/Unix/Command/_git

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ _git-reset () {
16741674
case $state in
16751675
(file)
16761676
local tree=HEAD
1677-
if zstyle -t :completion:${curcontext}: verbose; then
1677+
if zstyle -T :completion:${curcontext}: verbose; then
16781678
if ! tree=$(_call_program headed git rev-parse --verify HEAD); then
16791679
# well-known sha1 of the empty tree
16801680
tree=4b825dc642cb6eb9a060e54bf8d69288fbee4904

Completion/Unix/Command/_iftop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _interfaces () {
44
local disp expl sep
55
_description interfaces expl 'network interface'
66
_net_interfaces "$expl[@]"
7-
if zstyle -t ":completion:${curcontext}:interfaces" verbose; then
7+
if zstyle -T ":completion:${curcontext}:interfaces" verbose; then
88
zstyle -s ":completion:${curcontext}:interfaces" list-separator sep || sep=--
99
disp=( "any $sep capture on all interfaces" )
1010
compadd "$expl[@]" -ld disp any

Completion/Unix/Command/_tcpdump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _tcpdump_interfaces() {
1313
else
1414
_description interfaces expl 'network interface'
1515
_net_interfaces "$expl[@]"
16-
if zstyle -t ":completion:${curcontext}:interfaces" verbose; then
16+
if zstyle -T ":completion:${curcontext}:interfaces" verbose; then
1717
zstyle -s ":completion:${curcontext}:interfaces" list-separator sep || sep=--
1818
disp=( "any $sep capture on all interfaces" )
1919
compadd "$expl[@]" -ld disp any

Completion/Zsh/Type/_globquals

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ while [[ -n $PREFIX ]]; do
120120
if ! compset -P '[Mwhmsd]' && [[ -z $PREFIX ]]; then
121121
tdisp=( seconds minutes hours days weeks Months )
122122
tmatch=( s m h d w M )
123-
if zstyle -t ":completion:${curcontext}:time-specifiers" verbose; then
123+
if zstyle -T ":completion:${curcontext}:time-specifiers" verbose; then
124124
zstyle -s ":completion:${curcontext}:time-specifiers" list-separator sep || sep=--
125125
print -v tdisp -f "%s ${sep//(#m)[%\\]/$MATCH$MATCH} %s" ${tmatch:^^tdisp}
126126
fi
127127
alts+=( "time-specifiers:time specifier:compadd -E 0 -d tdisp -S '' -a tmatch" )
128128
fi
129129
if ! compset -P '[-+]' && [[ -z $PREFIX ]]; then
130-
if zstyle -t ":completion:${curcontext}:senses" verbose; then
130+
if zstyle -T ":completion:${curcontext}:senses" verbose; then
131131
zstyle -s ":completion:${curcontext}:senses" list-separator sep || sep=--
132132
default=" [default exactly]"
133133
sdisp=( "+ $sep before (older files)" "- $sep since (newer files)" )

Completion/Zsh/Type/_parameters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ zstyle -t ":completion:${curcontext}:parameters" prefix-needed &&
1616
_description parameters expl parameter
1717
zparseopts -D -K -E g:=pattern
1818

19-
if zstyle -t ":completion:${curcontext}:parameters" verbose; then
19+
if zstyle -T ":completion:${curcontext}:parameters" verbose; then
2020
described=(
2121
"${(@M)${(@k)parameters[(R)$~pattern[2]~*(hideval|local|special)*]}:#$~pfilt*}"
2222
)

Test/Y01completion.ztst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ F:regression test workers/31611
348348
>NO:{path}
349349
>NO:{paths}
350350

351-
comptesteval 'zstyle -d ":completion:*:parameters" verbose'
351+
comptesteval 'zstyle ":completion:*:parameters" verbose no'
352352
comptest $': $ba\t'
353353
0:parameter values not shown without verbose
354354
>line: {: $ba}{}

0 commit comments

Comments
 (0)