Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] _describe -x adds same completion group header twice
- X-seq: zsh-workers 49402
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] _describe -x adds same completion group header twice
- Date: Thu, 9 Sep 2021 19:48:30 +0300
- Archived-at: <https://zsh.org/workers/49402>
- List-id: <zsh-workers.zsh.org>
When _describe is called with -x, it adds the same group header twice:
% autoload -Uz compinit; compinit
% zstyle '*' group-name ''
% zstyle '*' format '--%d--'
% compdef _tst tst
% _tst() { local -a arr=( foo bar ); _describe -x 'desc' arr }
% tst \t
--desc--
--desc--
bar foo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author