Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Use zstyle verbose for _parameters descriptions
- X-seq: zsh-workers 51827
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] Use zstyle verbose for _parameters descriptions
- Date: Mon, 5 Jun 2023 16:53:06 +0900
- Archived-at: <https://zsh.org/workers/51827>
- In-reply-to: <CACeGjnWonr3FZEXbasLrPZp9MgPVRFkDTpYPWz=0Vaj2fyvSbw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20230518205329.39746-1-marlon.richert@gmail.com> <20230518205329.39746-2-marlon.richert@gmail.com> <CAH+w=7ZYCP30CcweFgp0hFnHXiioX9YHdcjFtf=FrDTKBQJ+Ow@mail.gmail.com> <CACeGjnWonr3FZEXbasLrPZp9MgPVRFkDTpYPWz=0Vaj2fyvSbw@mail.gmail.com>
It seems the fix is so trivial that no one is prepareing it.
I'll push the following.
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index a4060e9a4..fb369ea69 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -281,10 +281,10 @@ F:regression test workers/31611
comptesteval "typeset -a bar=({$'\\0'..$'\\C-?'})"
comptesteval 'typeset -A bat=( "$bar[@]" )'
comptesteval 'typeset bay="$bar"'
- comptesteval 'zstyle ":completion:*:parameters" extra-verbose yes'
+ comptesteval 'zstyle ":completion:*:parameters" verbose yes'
comptesteval 'zstyle ":completion:*" fake-parameters bar bat bay'
comptest $': $ba\t'
-0:extra-verbose shows parameter values
+0:verbose shows parameter values
>line: {: $ba}{}
>DESCRIPTION:{parameter}
>NO:{bar -- ( '^@' '^A' '^B' '^C' '^D' '^E' '^F' '^G' '^H' '\t' '\n' '^K' '^L' '}
@@ -294,15 +294,15 @@ F:regression test workers/31611
comptesteval "path=( $ZTST_srcdir:A )"
comptesteval 'typeset -H paths=HIDDEN'
comptest $': $path\t'
-0:extra-verbose doesn't show special or hidden parameter values
+0:verbose doesn't show special or hidden parameter values
>line: {: $path}{}
>DESCRIPTION:{parameter}
>NO:{path}
>NO:{paths}
- comptesteval 'zstyle -d ":completion:*:parameters" extra-verbose'
+ comptesteval 'zstyle -d ":completion:*:parameters" verbose'
comptest $': $ba\t'
-0:parameter values not shown without extra-verbose
+0:parameter values not shown without verbose
>line: {: $ba}{}
>DESCRIPTION:{parameter}
>NO:{bar}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author